Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaier committed Oct 10, 2015
1 parent 73cd21f commit 634585b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions loader.jsm
Expand Up @@ -5,7 +5,7 @@

var EXPORTED_SYMBOLS = ["BASE_PATH", "require", "unload", "_setupLoader"];

const {
var {
classes: Cc,
interfaces: Ci,
utils: Cu,
Expand All @@ -14,15 +14,15 @@ const {
manager: Cm
} = Components;

const weak = Cu.getWeakReference.bind(Cu);
const reportError = Cu.reportError.bind(Cu);
var weak = Cu.getWeakReference.bind(Cu);
var reportError = Cu.reportError.bind(Cu);

Cm.QueryInterface(Ci.nsIComponentRegistrar);

Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");

const lazy = XPCOMUtils.defineLazyGetter;
var lazy = XPCOMUtils.defineLazyGetter;

// hide our internals
// Since require() uses .scriptloader, the loaded require scopes will have
Expand Down

0 comments on commit 634585b

Please sign in to comment.