Removed console.log statements

This commit is contained in:
Patrick Steele-Idem 2015-03-26 15:27:15 -06:00
parent fb0a379959
commit 88ca18005e

View File

@ -30,18 +30,18 @@ function onAfterUpdate(callback) {
}
function updateWidgets() {
console.log('Updating widgets BEGIN - ', widgetUpdateQueue ? widgetUpdateQueue.length : 0);
// console.log('Updating widgets BEGIN - ', widgetUpdateQueue ? widgetUpdateQueue.length : 0);
try {
if (widgetUpdateQueue) {
for (var i=0; i<widgetUpdateQueue.length; i++) {
var widget = widgetUpdateQueue[i];
widget.__updateQueued = false;
console.log('Updating widget: ' + widget.id);
// console.log('Updating widget: ' + widget.id);
widget.update();
}
}
} finally {
console.log('Updating widgets END');
// console.log('Updating widgets END');
widgetUpdateQueue = null;
updatesScheduled = false;
batchUpdateStarted = false;
@ -57,9 +57,9 @@ function batchUpdate(func) {
var isOuter = updatesScheduled === false && batchUpdateStarted === false;
batchUpdateStarted = true;
if (isOuter) {
console.log('Batch update BEGIN');
}
// if (isOuter) {
// console.log('Batch update BEGIN');
// }
try {
func();
@ -80,7 +80,7 @@ function queueWidgetUpdate(widget) {
scheduleUpdates();
console.log('Queuing widget update: ', widget.id);
// console.log('Queuing widget update: ', widget.id);
if (widgetUpdateQueue) {
widgetUpdateQueue.push(widget);