зеркало из https://github.com/mozilla/gecko-dev.git
synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970
This commit is contained in:
Родитель
f0926cf076
Коммит
c9fa37ae8a
|
@ -183,11 +183,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||
* targetObj, or, if 'targetObj' is not specified, on the caller's
|
||||
* global object.
|
||||
*
|
||||
* @param registryLocation the string identifying the location of the
|
||||
* module to import. For the format of the string, see
|
||||
* nsIComponentManagerObsolete.registryLocationForSpec.
|
||||
* Note that the format of this parameter is expected to change
|
||||
* (see bug 380970).
|
||||
* @param resourceURI A resource:// URI string to load the module from.
|
||||
* @param targetObj the object to install the exported properties on.
|
||||
* If this parameter is null or is a primitive value, this
|
||||
* method throws an exception.
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
* loader.
|
||||
*
|
||||
* Import into a JS component using
|
||||
* 'Components.utils.import("rel:XPCOMUtils.jsm");'
|
||||
* 'Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");'
|
||||
*
|
||||
* Exposing a JS 'class' as a component using these utility methods consists
|
||||
* of several steps:
|
||||
|
|
Загрузка…
Ссылка в новой задаче