mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
Merge pull request #1249 from openseadragon/ian
More forgiving check for DZI schema
This commit is contained in:
commit
e37a73824d
@ -113,8 +113,10 @@ $.extend( $.DziTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( "http://schemas.microsoft.com/deepzoom/2008" == ns ||
|
ns = (ns || '').toLowerCase();
|
||||||
"http://schemas.microsoft.com/deepzoom/2009" == ns );
|
|
||||||
|
return (ns.indexOf('schemas.microsoft.com/deepzoom/2008') !== -1 ||
|
||||||
|
ns.indexOf('schemas.microsoft.com/deepzoom/2009') !== -1);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user