[Pkg-mozext-commits] [tabmixplus] 50/73: Typos and other errors in Regexp
David Prévot
taffit at moszumanska.debian.org
Mon May 9 02:30:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 400e3b0b0452db66ee6a270130b4b3bf84743204
Author: onemen <tabmix.onemen at gmail.com>
Date: Fri Apr 22 14:46:07 2016 +0300
Typos and other errors in Regexp
---
chrome/content/content.js | 3 ++-
chrome/content/minit/tabView.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/content.js b/chrome/content/content.js
index a5119f6..72fefcf 100644
--- a/chrome/content/content.js
+++ b/chrome/content/content.js
@@ -192,8 +192,9 @@ TabmixClickEventHandler = {
let ownerDoc = originalTarget.ownerDocument;
// let Firefox code handle click events from about pages
- if (!ownerDoc || /^about:[certerror|blocked|neterror]/.test(ownerDoc.documentURI))
+ if (!ownerDoc || /^about:(certerror|blocked|neterror)$/.test(ownerDoc.documentURI)) {
return;
+ }
let [href, node, principal] = this._hrefAndLinkNodeForClickEvent(event);
diff --git a/chrome/content/minit/tabView.js b/chrome/content/minit/tabView.js
index 2ba16e8..afe7071 100644
--- a/chrome/content/minit/tabView.js
+++ b/chrome/content/minit/tabView.js
@@ -162,7 +162,7 @@
'this.',
'UI.', {flags: "g", silent: true}
)._replace(
- /items\.forEach\(function\s*\(item\)\s*{/,
+ /items\.forEach\(function\s*\(item\)\s*\{/,
'Array.prototype.forEach.call(gBrowser.tabs, function(tab) { \
if (tab.pinned) return;\
let item = tab._tabViewTabItem;'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list