Skip to content

Commit

Permalink
Clean up cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Oct 31, 2015
1 parent e99e5fa commit 59c27fa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/lib/template/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
},

_tryRenderChunk: function() {
if (this.limit >= 0 && this._chunkCount &&
if (this._chunkCount &&
Math.min(this.limit, this._instances.length) < this.items.length) {
this.debounce('renderChunk', this._requestRenderChunk);
}
Expand Down Expand Up @@ -664,13 +664,6 @@
return inst;
},

_detachAllRows: function() {
for (var i=0; i<this._instances.length; i++) {
this._detachRow(i, true);
}
this._instances.length = 0;
},

_insertRow: function(idx, key, replace, makePlaceholder) {
var inst;
if (makePlaceholder || idx >= this.limit) {
Expand Down

0 comments on commit 59c27fa

Please sign in to comment.