From 4b612baf4f29178214edec130856d83a40bf473d Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Sun, 4 Sep 2011 22:53:16 +0200 Subject: Total restructuring of files and deletion of old files --- chrome/code/component.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 chrome/code/component.js (limited to 'chrome/code/component.js') diff --git a/chrome/code/component.js b/chrome/code/component.js deleted file mode 100644 index 453d134..0000000 --- a/chrome/code/component.js +++ /dev/null @@ -1,21 +0,0 @@ -Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); -Ci = Components.interfaces; -Cr = Components.results; - -Components.utils.import("chrome://redirector/content/code/redirector.js"); - -function RedirectorComponent() { } - -RedirectorComponent.prototype = { - classDescription: "My Hello World Javascript XPCOM Component", - classID: Components.ID("{b7a7a54f-0581-47ff-b086-d6920cb7a3f7}"), - contractID: "@einaregilsson.com/redirector;1", - QueryInterface: function(iid) { - if (iid.equals(Ci.nsISupports) || iid.equals(Ci.nsIContentPolicy) || iid.equals(Ci.nsIChannelEventSink)) { - return Redirector; - } - throw Cr.NS_ERROR_NO_INTERFACE; - } -}; - -const NSGetFactory = XPCOMUtils.generateNSGetFactory([RedirectorComponent]); -- cgit v1.2.3-70-g09d2