[Pkg-mozext-commits] [greasemonkey] 42/55: Remove commented-out code in scriptprefs.js.
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 0d569dbe99c5de4510cae45d70efe2e49f5519cc
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Wed Sep 30 09:38:23 2015 -0400
Remove commented-out code in scriptprefs.js.
---
content/scriptprefs.js | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/content/scriptprefs.js b/content/scriptprefs.js
index 3acd3fb..c507582 100644
--- a/content/scriptprefs.js
+++ b/content/scriptprefs.js
@@ -38,12 +38,6 @@ window.addEventListener('load', function() {
for (var i = 0; i < gScript.matches.length; i++) {
gScriptMatchesEl.addPage(gScript.matches[i].pattern);
}
- /*
- gScriptMatchesEl.onAddUserExclude = function(url) {
- gUserExcludeEl.addPage(url);
- gTabboxEl.selectedTab = gUserTabEl;
- };
- */
for (var i = 0; i < gScript.userMatches.length; i++) {
gUserMatchesEl.addPage(gScript.userMatches[i].pattern);
}
@@ -57,11 +51,8 @@ window.addEventListener('load', function() {
}, false);
function onDialogAccept() {
- // gScript.includes = gScriptIncludesEl.pages;
gScript.userIncludes = gUserIncludesEl.pages;
- // gScript.matches = gScriptMatchesEl.pages;
gScript.userMatches = gUserMatchesEl.pages;
- // gScript.excludes = gScriptExcludesEl.pages;
gScript.userExcludes = gUserExcludesEl.pages;
GM_util.getService().config._changed(gScript, "cludes");
}
--
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