includeJs()
Usage
Structr.includeJs(filename)
Description
Searches for a JavaScript library file and if found, inserts the content of this file into the current JavaScript context.
A file can be marked as JavaScript library in the property dialog of the file.
Note
This function is only available in JavaScript contexts.
Example
${{
Structr.includeJs("functions.js");
includedFunction('test');
}}