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:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user