diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-04 21:44:39 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-04 21:44:39 +0200 |
commit | bf40c2ec5fbbcb36995fb66e2e1c1b0e25c708d9 (patch) | |
tree | 251edc9a3e2c1945ce726a4510e92139d3697b26 | |
parent | 47477154f30d391fe154e19efa4e3da4770c2b99 (diff) | |
download | bugzilla-triage-bf40c2ec5fbbcb36995fb66e2e1c1b0e25c708d9.tar.gz |
Make the package compatible with new require("chrome") policy.0.12
-rw-r--r-- | lib/clipboard.js | 1 | ||||
-rw-r--r-- | lib/util.js | 3 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 4 insertions, 2 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 diff --git a/package.json b/package.json index 6af2b46..9dc3180 100644 --- a/package.json +++ b/package.json @@ -7,5 +7,5 @@ "description": "Additional buttons and other function helping in the triage on bugzilla", "author": "Matej Cepl (http://matej.ceplovi.cz)", "license": "MIT/X11 (http://opensource.org/licenses/mit-license.php)", - "version": "0.11" + "version": "0.12" } |