mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970
This commit is contained in:
parent
60c0bc14c0
commit
25882be3be
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user