From d145c129a0304a1a1543fd7df288376962c6c88e Mon Sep 17 00:00:00 2001 From: thatcher Date: Tue, 27 Dec 2011 18:20:45 -0500 Subject: [PATCH] removed null method Drawer.prototype.idle --- openseadragon.js | 7 +------ src/drawer.js | 3 --- src/viewer.js | 4 +--- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/openseadragon.js b/openseadragon.js index 6fb0ac0a..7da62fae 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -2052,9 +2052,7 @@ function updateOnce( viewer ) { } else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) { viewer.drawer.update(); viewer._forceRedraw = false; - } else { - viewer.drawer.idle(); - } + } if ( viewer._animating && !animated ) { viewer.raiseEvent( "animationfinish" ); @@ -3902,9 +3900,6 @@ $.Drawer.prototype = { this._profiler.endUpdate(); }, - idle: function() { - }, - loadImage: function(src, callback) { var _this = this, loading = false, diff --git a/src/drawer.js b/src/drawer.js index 1a3e83fc..42a997a1 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -583,9 +583,6 @@ $.Drawer.prototype = { this._profiler.endUpdate(); }, - idle: function() { - }, - loadImage: function(src, callback) { var _this = this, loading = false, diff --git a/src/viewer.js b/src/viewer.js index 6cc82a86..1ced5b05 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -778,9 +778,7 @@ function updateOnce( viewer ) { } else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) { viewer.drawer.update(); viewer._forceRedraw = false; - } else { - viewer.drawer.idle(); - } + } if ( viewer._animating && !animated ) { viewer.raiseEvent( "animationfinish" );