[Pkg-mozext-commits] [requestpolicy] 157/257: [ref] PolicyImplementation: use `self.*` notation
David Prévot
taffit at moszumanska.debian.org
Thu Jan 28 03:20:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit ec308de6d93ff9d3ba5d9eabc2d6c2dd4937b637
Author: Martin Kimmerle <dev at 256k.de>
Date: Mon Nov 30 23:38:33 2015 +0100
[ref] PolicyImplementation: use `self.*` notation
---
src/content/main/content-policy.jsm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/content/main/content-policy.jsm b/src/content/main/content-policy.jsm
index 851ec71..33424fa 100644
--- a/src/content/main/content-policy.jsm
+++ b/src/content/main/content-policy.jsm
@@ -46,13 +46,13 @@ ScriptLoader.importModules([
// TODO: implement nsIChannelEventSink to catch redirects as Adblock Plus does.
var PolicyImplementation = (function() {
+ let self = {};
+
let xpcom_categories = ["content-policy"];
- let self = {
- classDescription: "RequestPolicy ContentPolicy Implementation",
- classID: Components.ID("{d734b30a-996c-4805-be24-25a0738249fe}"),
- contractID: "@requestpolicy.org/rpcontinued-service;1"
- };
+ self.classDescription = "RequestPolicy ContentPolicy Implementation";
+ self.classID = Components.ID("{d734b30a-996c-4805-be24-25a0738249fe}");
+ self.contractID = "@requestpolicy.org/rpcontinued-service;1";
/**
* Registers the content policy on startup.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list