aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-04 21:44:39 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-04 21:44:39 +0200
commitbf40c2ec5fbbcb36995fb66e2e1c1b0e25c708d9 (patch)
tree251edc9a3e2c1945ce726a4510e92139d3697b26 /lib
parent47477154f30d391fe154e19efa4e3da4770c2b99 (diff)
downloadbugzilla-triage-bf40c2ec5fbbcb36995fb66e2e1c1b0e25c708d9.tar.gz
Make the package compatible with new require("chrome") policy.0.12
Diffstat (limited to 'lib')
-rw-r--r--lib/clipboard.js1
-rw-r--r--lib/util.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/clipboard.js b/lib/clipboard.js
index 1870e9f..fb1768a 100644
--- a/lib/clipboard.js
+++ b/lib/clipboard.js
@@ -1,5 +1,6 @@
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
+var {Cc,Ci} = require("chrome");
/**
* returns content of the system clipboard
diff --git a/lib/util.js b/lib/util.js
index 6348598..b72f7f0 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -1,4 +1,4 @@
-/*global exports: false, require: false, Cc: false, Ci: false, console: false */
+/*global exports: false, require: false, console: false */
/*jslint onevar: false */
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
@@ -6,6 +6,7 @@
// ==============================================================
var xhrMod = require("xhr");
var urlMod = require("url");
+var {Cc,Ci} = require("chrome");
/**
* Function for the management of the prototypal inheritace