Skip to content

Commit

Permalink
Make yield method private
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Garcia committed Sep 2, 2016
1 parent 82bb576 commit 2db384f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iron-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -963,13 +963,13 @@
this._increasePool(maxPoolSize);
return true;
}
this.yield(function() {
this._yield(function() {
self._increasePool(Math.min(maxPoolSize, Math.max(1, Math.round(50 / self._templateCost))));
});
return true;
},

yield: function(cb) {
_yield: function(cb) {
var g = window;
var handle = g.requestIdleCallback ? g.requestIdleCallback(cb) : g.requestAnimationFrame(cb);
// Polymer/issues/3895
Expand Down

0 comments on commit 2db384f

Please sign in to comment.