server Built-In Namespace global

Summary

Own
Functions Attributes Functions Name Functions Description
  include (filename) Include another javascript file in the global context.

{void} include (filename)

Include another javascript file in the global context.
File:
<./src/Ape_Server/modules/libape-spidermonkey.c>
Parameters:
{string} filename The filename relative to the 'scripts' folde
Returns:
{void}
Example
var inc = './scripts/foo.js';
include(inc);
Ape.log('some variable set in ' + inc + ' : ' + myfoovar);