From fc18ca6315f92c37546da37ec37179253f5694c0 Mon Sep 17 00:00:00 2001 From: Garoe Dorta <garoedp@gmail.com> Date: Mon, 30 Apr 2018 23:51:43 +0100 Subject: [PATCH] Removed deprectaed Components.utils Replaced with new function ChromeUtils --- bootstrap.js | 2 +- content/overlay.js | 2 +- content/ui.jsm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap.js b/bootstrap.js index fe3473b..6d2df62 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -1,4 +1,4 @@ -const Cu = Components.utils; +const Cu = ChromeUtils; const Cc = Components.classes; const Ci = Components.interfaces; diff --git a/content/overlay.js b/content/overlay.js index d035596..aa38add 100644 --- a/content/overlay.js +++ b/content/overlay.js @@ -2,7 +2,7 @@ var EXPORTED_SYMBOLS = ["TKPManager"]; -const Cu = Components.utils; +const Cu = ChromeUtils; const Ci = Components.interfaces; const Cc = Components.classes; diff --git a/content/ui.jsm b/content/ui.jsm index aa5d6b5..166a82e 100644 --- a/content/ui.jsm +++ b/content/ui.jsm @@ -2,7 +2,7 @@ var EXPORTED_SYMBOLS = ["Ui"]; -const Cu = Components.utils; +const Cu = ChromeUtils; const Ci = Components.interfaces; const Cc = Components.classes;