1
0
Fork 0
mirror of https://github.com/openseadragon/openseadragon.git synced 2025-04-01 04:46:11 +03:00

Merge pull request from avandecreme/cors

Disable CORS by default.
This commit is contained in:
iangilman 2014-04-08 14:28:41 -07:00
commit 59a00ddfd1
2 changed files with 4 additions and 4 deletions

View file

@ -409,7 +409,7 @@
* *
* @property {Number} [collectionTileSize=800] * @property {Number} [collectionTileSize=800]
* *
* @property {String} [crossOriginPolicy='Anonymous'] * @property {String|Boolean} [crossOriginPolicy=false]
* Valid values are 'Anonymous', 'use-credentials', and false. If false, canvas requests will * Valid values are 'Anonymous', 'use-credentials', and false. If false, canvas requests will
* not use CORS, and the canvas will be tainted. * not use CORS, and the canvas will be tainted.
* *
@ -727,7 +727,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
tileSources: null, tileSources: null,
tileHost: null, tileHost: null,
initialPage: 0, initialPage: 0,
crossOriginPolicy: 'Anonymous', crossOriginPolicy: false,
//PAN AND ZOOM SETTINGS AND CONSTRAINTS //PAN AND ZOOM SETTINGS AND CONSTRAINTS
panHorizontal: true, panHorizontal: true,