From b28c0ffd89de27085b645dae54ba5a533715390f Mon Sep 17 00:00:00 2001 From: John Foerch Date: Thu, 4 Feb 2016 14:29:58 -0500 Subject: [PATCH] Cu shortcut to Components.utils --- components/application.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/application.js b/components/application.js index d03459b..9c9630b 100644 --- a/components/application.js +++ b/components/application.js @@ -9,10 +9,11 @@ const Cc = Components.classes; const Ci = Components.interfaces; const Cr = Components.results; -Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); +const Cu = Components.utils; +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); function application () { - Components.utils.import("resource://gre/modules/XPCOMUtils.jsm", this); + Cu.import("resource://gre/modules/XPCOMUtils.jsm", this); this.wrappedJSObject = this; this.conkeror = this; -- 2.11.4.GIT