synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>

r=sayrer, bug 380970
This commit is contained in:
asqueella@gmail.com 2007-07-14 14:43:35 -07:00
parent 60c0bc14c0
commit 25882be3be
2 changed files with 2 additions and 6 deletions

View File

@ -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.

View File

@ -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: