1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-11 04:55:46 +01:00

Replace Array.slice conversions of the arguments object with rest parameters.

This commit is contained in:
Doug Kearns
2013-09-05 20:46:21 +10:00
parent e0a0388382
commit 99bfcbf2fc
16 changed files with 82 additions and 93 deletions

View File

@@ -65,7 +65,7 @@ var Group = Class("Group", {
get builtin() this.modules.contexts.builtinGroups.indexOf(this) >= 0,
}, {
compileFilter: function (patterns, default_) {
compileFilter: function (patterns, default_ = false) {
if (arguments.length < 2)
default_ = false;