mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
removed _DziTileSourceHelper anti-pattern in favor of direct object literal containing helper methods
This commit is contained in:
parent
9642ca18e7
commit
f1882259e2
@ -2652,11 +2652,8 @@ $.DziTileSource.prototype.tileExists = function(level, x, y) {
|
||||
return false;
|
||||
};
|
||||
|
||||
$._DziTileSourceHelper = function() {
|
||||
|
||||
};
|
||||
|
||||
$._DziTileSourceHelper.prototype = {
|
||||
$.DziTileSourceHelper = {
|
||||
createFromXml: function(xmlUrl, xmlString, callback) {
|
||||
var async = typeof (callback) == "function";
|
||||
var error = null;
|
||||
@ -2802,7 +2799,6 @@ $._DziTileSourceHelper.prototype = {
|
||||
}
|
||||
};
|
||||
|
||||
$.DziTileSourceHelper = new $._DziTileSourceHelper();
|
||||
|
||||
}( OpenSeadragon ));
|
||||
|
||||
|
@ -70,11 +70,8 @@ $.DziTileSource.prototype.tileExists = function(level, x, y) {
|
||||
return false;
|
||||
};
|
||||
|
||||
$._DziTileSourceHelper = function() {
|
||||
|
||||
};
|
||||
|
||||
$._DziTileSourceHelper.prototype = {
|
||||
$.DziTileSourceHelper = {
|
||||
createFromXml: function(xmlUrl, xmlString, callback) {
|
||||
var async = typeof (callback) == "function";
|
||||
var error = null;
|
||||
@ -220,6 +217,5 @@ $._DziTileSourceHelper.prototype = {
|
||||
}
|
||||
};
|
||||
|
||||
$.DziTileSourceHelper = new $._DziTileSourceHelper();
|
||||
|
||||
}( OpenSeadragon ));
|
||||
|
Loading…
Reference in New Issue
Block a user