Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'github/debug' into f-tests

  • Loading branch information...
commit b5f1495e4110d15473b5d99872307d395298663d 2 parents 48be7b8 + d1b9ccc
@thejohnfreeman thejohnfreeman authored
View
7 lib/bindings/binders/dom/foreach.js
@@ -22,16 +22,17 @@
* index.
*/
var mirror = view.data(hdMirrorName);
- var slot = mirror[index];
+ var slot = mirror[index].first();
var copies = [];
var i;
for (i = 0; i < items.length; ++i) {
var copy = render(items[i]);
- copies[i] = copy;
- slot.first().before(copy);
+ copies.push(copy);
}
+ slot.before.apply(slot, copies);
+
copies.unshift(index, 0);
Array.prototype.splice.apply(mirror, copies);
};
View
2  lib/model/runtime/runtime.js
@@ -62,7 +62,7 @@
updateTask = null;
/* Skip if we can. */
- if (!touchedSet.length) {
+ if (!touchedSet.length && !newMethods.length) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.