[Pkg-mozext-commits] [greasemonkey] 41/55: Style clean up

David Prévot taffit at moszumanska.debian.org
Thu Oct 29 15:38:06 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit 213b1e6856e5409528c2900cfa541800cff0b764
Author: janekptacijarabaci <janekptacijarabaci at seznam.cz>
Date:   Mon Sep 28 07:43:50 2015 +0200

    Style clean up
    
    Ad
    https://github.com/greasemonkey/greasemonkey/commit/92453f89209ecf674622eb7fd372a007fb5d33b6
---
 modules/abstractScript.js  | 7 ++++---
 modules/ipcscript.js       | 2 +-
 modules/processScript.js   | 2 +-
 modules/requestObserver.js | 5 +++--
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/modules/abstractScript.js b/modules/abstractScript.js
index b9a4d7b..a3f2532 100644
--- a/modules/abstractScript.js
+++ b/modules/abstractScript.js
@@ -1,15 +1,16 @@
 'use strict';
 
-const EXPORTED_SYMBOLS = ['AbstractScript'];
+var EXPORTED_SYMBOLS = ['AbstractScript'];
 
-const gAboutBlankRegexp = /^about:blank/;
+var gAboutBlankRegexp = /^about:blank/;
 
-const Cu = Components.utils;
+var Cu = Components.utils;
 
 Cu.import('chrome://greasemonkey-modules/content/third-party/convert2RegExp.js');
 Cu.import('chrome://greasemonkey-modules/content/third-party/MatchPattern.js');
 Cu.import('chrome://greasemonkey-modules/content/util.js');
 
+
 function AbstractScript() { }
 
 Object.defineProperty(AbstractScript.prototype, "globalExcludes", {
diff --git a/modules/ipcscript.js b/modules/ipcscript.js
index 36604b5..497ca62 100644
--- a/modules/ipcscript.js
+++ b/modules/ipcscript.js
@@ -105,7 +105,7 @@ IPCScript.prototype.info = function() {
 
 var scripts = [];
 
-const cpmm = Components.classes["@mozilla.org/childprocessmessagemanager;1"]
+var cpmm = Components.classes["@mozilla.org/childprocessmessagemanager;1"]
     .getService(Components.interfaces.nsISyncMessageSender);
 
 
diff --git a/modules/processScript.js b/modules/processScript.js
index be4ffe9..7b73950 100644
--- a/modules/processScript.js
+++ b/modules/processScript.js
@@ -5,7 +5,7 @@
 // footprint for stateless things.  Avoid keeping references to frame scripts
 // or their content, this could leak frames!
 
-const EXPORTED_SYMBOLS = ['addFrame'];
+var EXPORTED_SYMBOLS = ['addFrame'];
 
 
 function addFrame(frameMM) {
diff --git a/modules/requestObserver.js b/modules/requestObserver.js
index 58314b2..d3ead1d 100644
--- a/modules/requestObserver.js
+++ b/modules/requestObserver.js
@@ -1,12 +1,13 @@
 'use strict';
 
-const EXPORTED_SYMBOLS = [];
+var EXPORTED_SYMBOLS = [];
 
 Components.utils.import("resource://gre/modules/Services.jsm");
 Components.utils.import("chrome://greasemonkey-modules/content/util.js");
 Components.utils.import("chrome://greasemonkey-modules/content/prefmanager.js");
 
-const types = Components.interfaces.nsIContentPolicy
+var types = Components.interfaces.nsIContentPolicy;
+
 
 function checkScriptRefresh(channel) {
   // .loadInfo is part of nsiChannel -> implicit QI needed

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list