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
Родитель f0926cf076
Коммит c9fa37ae8a
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

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