[Pkg-mozext-commits] [greasemonkey] 03/21: Fix missing semicolons.
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 21:27:14 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 720479d65570aed983e02069be73ae764a60d5c1
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Mon Jul 13 16:57:27 2015 -0400
Fix missing semicolons.
---
content/newscript.js | 4 ++--
modules/GM_notification.js | 2 +-
modules/ipcscript.js | 6 +++---
modules/stats.js | 2 +-
modules/util/memoize.js | 2 +-
modules/xmlhttprequester.js | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/content/newscript.js b/content/newscript.js
index 09e81d9..d396ad6 100644
--- a/content/newscript.js
+++ b/content/newscript.js
@@ -27,7 +27,7 @@ window.addEventListener("load", function window_load() {
content.selectedBrowser.contentWindow.location.href;
}
- gClipText = getClipText()
+ gClipText = getClipText();
document.documentElement.getButton('extra2').collapsed =
!(gClipText && extractMeta(gClipText));
}, false);
@@ -121,7 +121,7 @@ function createScriptSource() {
} else {
var re = new RegExp('(.+)' + replaceKey);
var m = source.match(re);
- source = source.replace(replaceKey, replaceVal.join('\n' + m[1]))
+ source = source.replace(replaceKey, replaceVal.join('\n' + m[1]));
}
}
diff --git a/modules/GM_notification.js b/modules/GM_notification.js
index de15e51..c017683 100644
--- a/modules/GM_notification.js
+++ b/modules/GM_notification.js
@@ -25,7 +25,7 @@ function GM_notification(
'label': gStringBundle.GetStringFromName('notification.ok.label'),
'accessKey': gStringBundle.GetStringFromName('notification.ok.accesskey'),
'callback': function() { },
- }
+ };
var muteAction = {
'label': gStringBundle.GetStringFromName('notification.neveragain.label'),
'accessKey': gStringBundle.GetStringFromName('notification.neveragain.accesskey'),
diff --git a/modules/ipcscript.js b/modules/ipcscript.js
index 91f8cbc..896746e 100644
--- a/modules/ipcscript.js
+++ b/modules/ipcscript.js
@@ -12,7 +12,7 @@ function IPCScript(aScript, addonVersion) {
this.id = aScript.id;
this.includes = aScript.includes;
this.localized = aScript.localized;
- this.matches = aScript.matches.map(function(m) { return m.pattern });
+ this.matches = aScript.matches.map(function(m) { return m.pattern; });
this.name = aScript.name;
this.namespace = aScript.namespace;
this.noframes = aScript.noframes;
@@ -26,7 +26,7 @@ function IPCScript(aScript, addonVersion) {
return {
'fileURL': req.fileURL,
'textContent': req.textContent
- }
+ };
});
this.resources = aScript.resources.map(function(res) {
@@ -79,5 +79,5 @@ IPCScript.prototype.info = function() {
'run-at': this.runAt,
'version': this.version
}
- }
+ };
};
diff --git a/modules/stats.js b/modules/stats.js
index 041979f..7a46f63 100644
--- a/modules/stats.js
+++ b/modules/stats.js
@@ -114,7 +114,7 @@ function getStatsObj() {
var domain = null;
try {
// Ignore errors here; i.e. invalid/empty URLs.
- domain = gTldService.getBaseDomain(downloadUri)
+ domain = gTldService.getBaseDomain(downloadUri);
} catch (e) { }
var sizes = [script.textContent.length];
diff --git a/modules/util/memoize.js b/modules/util/memoize.js
index c7dd446..109a380 100644
--- a/modules/util/memoize.js
+++ b/modules/util/memoize.js
@@ -32,5 +32,5 @@ function memoize(func, limit) {
if (keylist.push(key) > limit) delete cache[keylist.shift()];
return result;
- }
+ };
}
diff --git a/modules/xmlhttprequester.js b/modules/xmlhttprequester.js
index b8c91b5..28e443a 100644
--- a/modules/xmlhttprequester.js
+++ b/modules/xmlhttprequester.js
@@ -66,7 +66,7 @@ GM_xmlhttpRequester.prototype.contentStartRequest = function(details) {
responseText: null,
status: null,
statusText: null
- }
+ };
if (!!details.synchronous) {
rv.finalUrl = req.finalUrl;
--
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