Index: chrome/content/common.js |
=================================================================== |
--- a/chrome/content/common.js |
+++ b/chrome/content/common.js |
@@ -11,6 +11,9 @@ |
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); |
Cu.import("resource://gre/modules/Services.jsm"); |
+const SDK = Cu.import("resource://gre/modules/commonjs/toolkit/require.js", {}); |
Wladimir Palant
2015/12/14 11:28:51
I added dev-doc-needed keyword to https://bugzilla
|
+SDK.require("sdk/tabs"); |
Wladimir Palant
2015/12/14 11:28:51
This line seems unnecessary?
|
+ |
function require(module) |
{ |
let result = {}; |