From 25aae2cc9963675f5570267a51fbac61305685f0 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 21 Sep 2013 14:13:07 -0700 Subject: More pointification and general code cleanup. Also massive, crazy, conflict-ridden merge. --- common/content/marks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/content/marks.js') 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 // Copyright (c) 2007-2011 by Doug Kearns -// Copyright (c) 2008-2012 Kris Maglione +// Copyright (c) 2008-2013 Kris Maglione // // 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())); } -- cgit v1.2.3