Changes

Jump to: navigation, search

Labs/Jetpack/JEP/25

156 bytes added, 21:24, 29 September 2009
Loader Objects: added docs for Loader.require().
If ''code'' is a string of JavaScript code, this is a convenient shorthand for <tt>Loader.runScript({contents: code}}</tt>.
 
<tt>Loader.'''require'''(''module'')</tt>
 
This loads the given module name using the standard <tt>require()</tt> semantics and returns the loaded module.
=== Functions ===
874
edits

Navigation menu