| OLD | NEW | 
|---|
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 
| 2  * License, v. 2.0. If a copy of the MPL was not distributed with this | 2  * License, v. 2.0. If a copy of the MPL was not distributed with this | 
| 3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 
| 4 | 4 | 
| 5 const Cc = Components.classes; | 5 const Cc = Components.classes; | 
| 6 const Ci = Components.interfaces; | 6 const Ci = Components.interfaces; | 
| 7 const Cr = Components.results; | 7 const Cr = Components.results; | 
| 8 const Cu = Components.utils; | 8 const Cu = Components.utils; | 
| 9 | 9 | 
| 10 let {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); | 10 let {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); | 
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 182   { | 182   { | 
| 183     if (topic == "{{metadata.get('general', 'basename')}}-require") | 183     if (topic == "{{metadata.get('general', 'basename')}}-require") | 
| 184     { | 184     { | 
| 185       subject.wrappedJSObject.exports = require(data); | 185       subject.wrappedJSObject.exports = require(data); | 
| 186     } | 186     } | 
| 187   }, | 187   }, | 
| 188 | 188 | 
| 189   QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference, Ci.nsIObse
     rver]) | 189   QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference, Ci.nsIObse
     rver]) | 
| 190 }; | 190 }; | 
| 191 {%- endif %} | 191 {%- endif %} | 
| OLD | NEW | 
|---|