From 7854e142579823121e3b80261600a48162b452af Mon Sep 17 00:00:00 2001 From: thatcher Date: Tue, 27 Dec 2011 16:54:01 -0500 Subject: [PATCH] removed unused closure private methods. --- openseadragon.js | 8 -------- src/job.js | 8 -------- 2 files changed, 16 deletions(-) diff --git a/openseadragon.js b/openseadragon.js index 0b8f57da..26a88fd3 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -2418,14 +2418,6 @@ $.Job.prototype = { } }; -function onload( job ){ - finish( job, true ); -}; - -function onerror( job ){ - finish( job, false ) -}; - function finish( job, success ){ var image = job.image, callback = job.callback; diff --git a/src/job.js b/src/job.js index d253390c..03b8527e 100644 --- a/src/job.js +++ b/src/job.js @@ -28,14 +28,6 @@ $.Job.prototype = { } }; -function onload( job ){ - finish( job, true ); -}; - -function onerror( job ){ - finish( job, false ) -}; - function finish( job, success ){ var image = job.image, callback = job.callback;