Remove debug info

This commit is contained in:
John F
2015-04-23 23:09:41 -04:00
parent f66e4fdc95
commit 170e4de526

View File

@@ -30390,7 +30390,7 @@ var getTorrentRange = function() {
var TorrentList = React.createClass({displayName: "TorrentList",
getInitialState: function() {
return {
allTorrents: [],
selectedTorrents: [],
@@ -30462,8 +30462,6 @@ var TorrentList = React.createClass({displayName: "TorrentList",
var listPadding = getListPadding();
var torrentRange = getTorrentRange();
console.log('viewport padding change, new min: ' + torrentRange.min + ' new max: ' + torrentRange.max);
this.setState({
minTorrentIndex: torrentRange.min,
maxTorrentIndex: torrentRange.max,
@@ -30684,10 +30682,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) {
case ClientConstants.REMOVE_TORRENT:
getClientStats();
break;
default:
// nothing
}
});
@@ -30819,9 +30813,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) {
TorrentStore.emitChange();
break;
default:
// nothing
}
});
@@ -31028,9 +31019,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) {
UIStore.emitViewportPaddingChange();
break;
default:
// nothing
}
});
@@ -31052,7 +31040,7 @@ var getSpacer = function(torrents) {
var setRenderLimit = function(scrollPosition, torrentCount) {
var elementsInView = Math.floor(_viewportHeight / _torrentHeight);
_minTorrentRendered = Math.floor(scrollPosition / _torrentHeight) - _torrentRenderBuffer;
_maxTorrentRendered = _minTorrentRendered + elementsInView + (_torrentRenderBuffer * 2);