Permalink
Browse files

Use splats syntax

  • Loading branch information...
1 parent 45bb491 commit 449066cc3281b3010c68b758a2ca71f0e917c24b @kossnocorp committed Dec 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gtl.coffee
View
@@ -153,11 +153,11 @@ class Gtl.Filter
result
- filterWithComparator: (array, comparator, rule, iterator) ->
+ filterWithComparator: (array, options...) ->
result = []
for el in array
- result.push(el) if @isElSatisfied(el, comparator, rule, iterator)
+ result.push(el) if @isElSatisfied(el, options...)
result

0 comments on commit 449066c

Please sign in to comment.