summaryrefslogtreecommitdiff
path: root/common/content/marks.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2013-09-21 14:13:07 -0700
committerKris Maglione <maglione.k@gmail.com>2013-09-21 14:13:07 -0700
commit25aae2cc9963675f5570267a51fbac61305685f0 (patch)
treecfcb678016163a5b2a06bb009b7272db02c56f21 /common/content/marks.js
parent2d90804d5ff78b4362227c45768c11f7953a7ba2 (diff)
downloadpentadactyl-25aae2cc9963675f5570267a51fbac61305685f0.tar.gz
More pointification and general code cleanup. Also massive, crazy, conflict-ridden merge.
Diffstat (limited to 'common/content/marks.js')
-rw-r--r--common/content/marks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/marks.js b/common/content/marks.js
index c7329595..caae980b 100644
--- a/common/content/marks.js
+++ b/common/content/marks.js
@@ -1,6 +1,6 @@
// Copyright (c) 2006-2008 by Martin Stubenschrott <stubenschrott@vimperator.org>
// Copyright (c) 2007-2011 by Doug Kearns <dougkearns@gmail.com>
-// Copyright (c) 2008-2012 Kris Maglione <maglione.k@gmail.com>
+// Copyright (c) 2008-2013 Kris Maglione <maglione.k@gmail.com>
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
@@ -260,7 +260,7 @@ var Marks = Module("marks", {
if (filter.length > 0) {
let pattern = util.charListToRegexp(filter, "a-zA-Z");
- marks = marks.filter(([k, ]) => pattern.test(k));
+ marks = marks.filter(([k]) => (pattern.test(k)));
dactyl.assert(marks.length > 0, _("mark.noMatching", filter.quote()));
}