Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
Removed some debug code from ScrollController.
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Oct 13, 2015
1 parent 691f93f commit 34c4a65
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/ScrollController.js
Original file line number Diff line number Diff line change
Expand Up @@ -1782,19 +1782,6 @@ define(function(require, exports, module) {
this._postLayout(size, scrollOffset);
}

if (this.options.paginationMode === PaginationMode.PAGE) {
var node = this._nodes._first;
while (node) {
if (!node._invalidated && !node._removing) {
console.log('removing node');
}
node = node._next;
}
if (this._nodes._contextState.addCount) {
console.log('adding nodes: ' + this._nodes._contextState.addCount);
}
}

// Mark non-invalidated nodes for removal
this._nodes.removeNonInvalidatedNodes(this.options.flowOptions.removeSpec);

Expand Down

0 comments on commit 34c4a65

Please sign in to comment.