7938f1ee by Michael Richards

Build 0.3.11.

1 parent cea33de8
// rivets.js
// version: 0.3.10
// version: 0.3.11
// author: Michael Richards
// license: MIT
(function() {
......@@ -422,7 +422,7 @@
iterationBinding = function(name) {
return function(el, collection, binding) {
var data, item, itemEl, iteration, m, n, previous, _i, _j, _len, _len1, _ref, _ref1, _results;
var data, item, itemEl, iteration, m, n, previous, _i, _j, _len, _len1, _ref, _ref1, _ref2, _results;
if (binding.iterated != null) {
_ref = binding.iterated;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
......@@ -448,7 +448,7 @@
data[name] = item;
itemEl = el.cloneNode(true);
previous = binding.iterated[binding.iterated.length - 1] || binding.marker;
binding.marker.parentNode.insertBefore(itemEl, previous.nextSibling);
binding.marker.parentNode.insertBefore(itemEl, (_ref2 = previous.nextSibling) != null ? _ref2 : null);
_results.push(binding.iterated.push({
el: itemEl,
view: rivets.bind(itemEl, data)
......
{
"name" : "rivets",
"description" : "Declarative data binding facility.",
"version" : "0.3.10",
"version" : "0.3.11",
"author" : "Michael Richards",
"url" : "http://rivetsjs.com",
"main" : "./lib/rivets.js",
......
# rivets.js
# version : 0.3.10
# version : 0.3.11
# author : Michael Richards
# license : MIT
......