Labs/Jetpack/JEP/28: Difference between revisions

Jump to navigation Jump to search
→‎Globals: added __url__
(Added initial docs for file module)
(→‎Globals: added __url__)
Line 70: Line 70:


In addition to these, the following globals are available to all modules.
In addition to these, the following globals are available to all modules.
=== <tt>__url__</tt> ===
The <tt>__url__</tt> global is a string identifying the URL from which the module or script's code has been retrieved.  If the module or script has no identifiable URL, this value may be <tt>null</tt>.


=== <tt>console</tt> ===
=== <tt>console</tt> ===
874

edits

Navigation menu