Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix parameter names that break new coffee-script

  • Loading branch information...
commit 70d47016b2143ffada284fddd2ad40362d940dfa 1 parent 5d35a01
Nathan Sobo authored July 03, 2012
2  lib/assets/javascripts/monarch/relations/projection.coffee
@@ -26,7 +26,7 @@ class Monarch.Relations.Projection extends Monarch.Relations.Relation
26 26
     @subscribe @operand, 'onInsert', (tuple, _, newKey, oldKey) ->
27 27
       @insert(tuple.getRecord(@table.name), newKey, oldKey)
28 28
 
29  
-    @subscribe @operand, 'onUpdate', (tuple, changeset, _, _, newKey, oldKey) ->
  29
+    @subscribe @operand, 'onUpdate', (tuple, changeset, newIndex, oldIndex, newKey, oldKey) ->
30 30
       @tupleUpdated(tuple, changeset, newKey, oldKey)
31 31
 
32 32
     @subscribe @operand, 'onRemove', (tuple, _, newKey, oldKey) ->
2  lib/assets/javascripts/monarch/relations/selection.coffee
@@ -21,7 +21,7 @@ class Monarch.Relations.Selection extends Monarch.Relations.Relation
21 21
     @subscribe @operand, 'onInsert', (tuple, _, newKey, oldKey) ->
22 22
       @insert(tuple, newKey, oldKey) if @predicate.evaluate(tuple)
23 23
 
24  
-    @subscribe @operand, 'onUpdate', (tuple, changeset, _, _, newKey, oldKey) ->
  24
+    @subscribe @operand, 'onUpdate', (tuple, changeset, newIndex, oldIndex, newKey, oldKey) ->
25 25
       if @predicate.evaluate(tuple)
26 26
         if @containsKey(oldKey)
27 27
           @tupleUpdated(tuple, changeset, newKey, oldKey)

0 notes on commit 70d4701

Please sign in to comment.
Something went wrong with that request. Please try again.