Skip to content

Commit

Permalink
JavaScript readme added.
Browse files Browse the repository at this point in the history
  • Loading branch information
autumoswitzerland committed Nov 8, 2024
1 parent d6f174c commit d67a6e0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Binary file not shown.
16 changes: 16 additions & 0 deletions web/js/readme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
*
* If your Java Script file name ends with 'search.js', you can use the
* beetRoot variable '{$servletName}'.
*
* Example:
*
* - Script : 'livesearch.js' or 'tasks-search.js'
* - Code : let fetchUrl =
* `{$servletName}/tasks/livesearch?q=${encodeURIComponent(query)}`;
*
* The variable '{$servletName}' is either replaced by the servlet name
* or by an empty character string if the beetRoot standalone server is
* used.
*
*/

0 comments on commit d67a6e0

Please sign in to comment.