Merge pull request #72 from jlsync/master
IE8 fix.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -278,7 +278,7 @@ iterationBinding = (name) -> (el, collection, binding) -> | ... | @@ -278,7 +278,7 @@ iterationBinding = (name) -> (el, collection, binding) -> |
278 | data[name] = item | 278 | data[name] = item |
279 | itemEl = el.cloneNode true | 279 | itemEl = el.cloneNode true |
280 | previous = binding.iterated[binding.iterated.length - 1] or binding.marker | 280 | previous = binding.iterated[binding.iterated.length - 1] or binding.marker |
281 | binding.marker.parentNode.insertBefore itemEl, previous.nextSibling | 281 | binding.marker.parentNode.insertBefore itemEl, previous.nextSibling ? null |
282 | 282 | ||
283 | binding.iterated.push | 283 | binding.iterated.push |
284 | el: itemEl | 284 | el: itemEl | ... | ... |
-
Please register or sign in to post a comment