Compare Revisions

Components.utils.import

Revision 16742:

Revision 16742 by FireRabbit on

Revision 16743:

Revision 16743 by FireRabbit on

Title:
Components.utils.import
Components.utils.import
Slug:
Components.utils.import
Components.utils.import
Tags:
XPConnect, NeedsContent, "XPCOM:Language Bindings"
XPConnect, NeedsContent, "XPCOM:Language Bindings"
Content:

Revision 16742
Revision 16743
nn13    <pre>
14Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
15</pre>
t59      <li>The subscript loader accepts a URL to the code to load,t62      <li>The subscript loader accepts a URL to the code to load,
> while <code>import</code> only accepts <code>resource:</code> UR> while <code>import</code> only accepts <code>resource:</code> (n
>Is (need to document what these are).>eed to document what these are) and <code>file:</code> URIs.

Back to History