Merge pull request #169 from mikeric/fix-rebinding-for-the-each-binder
Fix re-binding for each-* bindings
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 = [] | ... | ... |
-
Please register or sign in to post a comment