[Pkg-mozext-commits] [requestpolicy] 207/280: add some jshint comments
David Prévot
taffit at moszumanska.debian.org
Sat May 2 20:30:28 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 56a405e5e582d090d9df573f5d05a82064bb9fc5
Author: Martin Kimmerle <dev at 256k.de>
Date: Wed Feb 4 19:26:50 2015 +0100
add some jshint comments
---
src/content/lib/observer-manager.jsm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/content/lib/observer-manager.jsm b/src/content/lib/observer-manager.jsm
index 74c4166..43e05f2 100644
--- a/src/content/lib/observer-manager.jsm
+++ b/src/content/lib/observer-manager.jsm
@@ -21,6 +21,9 @@
* ***** END LICENSE BLOCK *****
*/
+/* global Components */
+/* exported EXPORTED_SYMBOLS, ObserverManager */
+
const Ci = Components.interfaces;
const Cc = Components.classes;
const Cu = Components.utils;
@@ -29,14 +32,19 @@ let EXPORTED_SYMBOLS = ["ObserverManager"];
let globalScope = this;
+/* global ScriptLoader */
Cu.import("chrome://requestpolicy/content/lib/script-loader.jsm");
ScriptLoader.importModules([
- "lib/utils/observers",
- "lib/environment"
+ "lib/utils/observers", /* global SingleTopicObserver,
+ SinglePrefBranchObserver */
+ "lib/environment" /* global Environment, ProcessEnvironment */
], globalScope);
ScriptLoader.defineLazyModuleGetters({
- "lib/prefs": ["rpPrefBranch", "rootPrefBranch"]
+ "lib/prefs": [
+ "rpPrefBranch", /* global rpPrefBranch */
+ "rootPrefBranch" /* global rootPrefBranch */
+ ]
}, globalScope);
--
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