XPCOMUtils.jsm

  • Revision slug: JavaScript_code_modules/XPCOMUtils.jsm
  • Revision title: XPCOMUtils.jsm
  • Revision id: 45633
  • Created:
  • Creator: mozjonathan
  • Is current revision? No
  • Comment 4 words added, 1380 words removed

Revision Content

Revision Source

<h2>Method overview</h2>
<table class="standard-table"> <tbody> <tr> <td><code>function <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#defineLazyGetter()" title="en/JavaScript code modules/XPCOMUtils.jsm#defineLazyGetter()">defineLazyGetter</a>(aObject, aName, aLambda);</code> {{ gecko_minversion_inline("1.9.2") }}</td> </tr> <tr> <td><code>function <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#defineLazyServiceGetter()" title="en/JavaScript code modules/XPCOMUtils.jsm#defineLazyServiceGetter()">defineLazyServiceGetter</a>(aObject, aName, aContract, aInterfaceName);</code> {{ gecko_minversion_inline("1.9.2") }}</td> </tr> <tr> <td><code>nsIModule <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#generateModule()" title="en/JavaScript code modules/XPCOMUtils.jsm#generateModule()">generateModule</a>(componentsArray, postRegister, preUnregister);</code></td> </tr> <tr> <td><code>function <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#generateNSGetModule()" title="en/JavaScript code modules/XPCOMUtils.jsm#generateNSGetModule()">generateNSGetModule</a>(componentsArray, postRegister, preUnregister);</code></td> </tr> <tr> <td><code>function <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#generateQI()" title="en/JavaScript code modules/XPCOMUtils.jsm#generateQI()">generateQI</a>(interfaces);</code></td> </tr> <tr> <td><code>function <a href="/en/JavaScript_code_modules/XPCOMUtils.jsm#importRelative()" title="en/JavaScript code modules/XPCOMUtils.jsm#importRelative()">importRelative</a>(that, path);</code> {{ gecko_minversion_inline("6") }}</td> </tr> </tbody>
</table>
Revert to this revision