c22a01d8 by Michael Richards

Merge pull request #169 from mikeric/fix-rebinding-for-the-each-binder

Fix re-binding for each-* bindings
2 parents 846ef080 945ec9da
...@@ -370,6 +370,7 @@ Rivets.binders = ...@@ -370,6 +370,7 @@ Rivets.binders =
370 block: true 370 block: true
371 371
372 bind: (el) -> 372 bind: (el) ->
373 unless @marker?
373 attr = ['data', @view.config.prefix, @type].join('-').replace '--', '-' 374 attr = ['data', @view.config.prefix, @type].join('-').replace '--', '-'
374 @marker = document.createComment " rivets: #{@type} " 375 @marker = document.createComment " rivets: #{@type} "
375 @iterated = [] 376 @iterated = []
......