[Pkg-mozext-commits] [requestpolicy] 178/280: [refact] move "content-policy.jsm" to main/

David Prévot taffit at moszumanska.debian.org
Sat May 2 20:30:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit ec5dbc9b180656d40c52343e4e6cd97e247d5538
Author: Martin Kimmerle <dev at 256k.de>
Date:   Sun Jan 25 20:50:24 2015 +0100

    [refact] move "content-policy.jsm" to main/
---
 src/content/lib/environment.process.js       | 2 +-
 src/content/lib/request-processor.jsm        | 2 +-
 src/content/{lib => main}/content-policy.jsm | 0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/content/lib/environment.process.js b/src/content/lib/environment.process.js
index f6adfc5..98d899c 100644
--- a/src/content/lib/environment.process.js
+++ b/src/content/lib/environment.process.js
@@ -121,7 +121,7 @@ let ProcessEnvironment = (function() {
     // import main modules:
     ScriptLoader.importModules([
       "main/requestpolicy-service",
-      "lib/content-policy",
+      "main/content-policy",
       "main/window-manager",
       "main/about-uri"
     ], dummyScope);
diff --git a/src/content/lib/request-processor.jsm b/src/content/lib/request-processor.jsm
index 5b32554..c33a1a8 100644
--- a/src/content/lib/request-processor.jsm
+++ b/src/content/lib/request-processor.jsm
@@ -51,7 +51,7 @@ ScriptLoader.importModules([
   "lib/environment"
 ], this);
 ScriptLoader.defineLazyModuleGetters({
-  "lib/content-policy": ["PolicyImplementation"]
+  "main/content-policy": ["PolicyImplementation"]
 }, this);
 
 
diff --git a/src/content/lib/content-policy.jsm b/src/content/main/content-policy.jsm
similarity index 100%
rename from src/content/lib/content-policy.jsm
rename to src/content/main/content-policy.jsm

-- 
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