Merge pull request #1249 from openseadragon/ian

More forgiving check for DZI schema
This commit is contained in:
Ian Gilman 2017-07-13 17:21:19 -07:00 committed by GitHub
commit e37a73824d

View File

@ -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);
}, },
/** /**