Bug 1230843 - Add AppConstants to instantbird.js. r=clokep
authoraleth <aleth@instantbird.org>
Tue, 08 Dec 2015 18:45:30 +0100
changeset 18723 982a9b6b77b2ce4907272ae4374a44e715650b8e
parent 18722 a8573d4c67292962f9dd9b8f51496e9f62bbedb7
child 18724 32b027e2ec4386f56c570dd59c06490b2a32c711
push id11470
push useraleth@instantbird.org
push dateTue, 08 Dec 2015 19:29:49 +0000
treeherdercomm-central@982a9b6b77b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs1230843
Bug 1230843 - Add AppConstants to instantbird.js. r=clokep
im/content/instantbird.js
--- a/im/content/instantbird.js
+++ b/im/content/instantbird.js
@@ -1,12 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
+
+XPCOMUtils.defineLazyModuleGetter(this, "AppConstants",
+                                  "resource://gre/modules/AppConstants.jsm");
 
 var TAB_DROP_TYPE = "application/x-moz-tabbrowser-tab";
 
 var convWindow = {
   load: function mo_load() {
     Components.utils.import("resource:///modules/imWindows.jsm");
     Conversations.registerWindow(window);