1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:12:26 +01:00

Change remaining Components.{classes,interfaces,results} -> C[cir].

This commit is contained in:
Doug Kearns
2009-06-15 19:40:31 +10:00
parent 6201338184
commit 4570c6ced5
5 changed files with 21 additions and 31 deletions

View File

@@ -1,7 +1,5 @@
const win = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.activeWindow;
const win = Cc["@mozilla.org/embedcomp/window-watcher;1"].getService(Ci.nsIWindowWatcher).activeWindow;
const liberator = win.liberator;
let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));