wadouri: loadDataSetFromPromise should return a deferred instead of a promise (PR #74)

Pull request
https://github.com/chafey/cornerstoneWADOImageLoader/pull/74
This commit is contained in:
Leonardo Campos 2017-04-03 02:37:46 -03:00
parent 0beda39efd
commit b1e5cab20c

View File

@ -73,7 +73,7 @@ if(typeof cornerstoneWADOImageLoader === 'undefined'){
}, function(error) { }, function(error) {
deferred.reject(error); deferred.reject(error);
}); });
return deferred.promise(); return deferred;
} }
function getLoaderForScheme(scheme) { function getLoaderForScheme(scheme) {