mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Add 'define' as a global in JSHint
This commit is contained in:
parent
00459189b1
commit
f799a1fe86
@ -9,6 +9,7 @@
|
|||||||
"unused": false,
|
"unused": false,
|
||||||
|
|
||||||
"globals": {
|
"globals": {
|
||||||
"OpenSeadragon": true
|
"OpenSeadragon": true,
|
||||||
|
"define": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -682,7 +682,9 @@
|
|||||||
* @returns {OpenSeadragon.Viewer}
|
* @returns {OpenSeadragon.Viewer}
|
||||||
*/
|
*/
|
||||||
window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||||
|
|
||||||
return new OpenSeadragon.Viewer( options );
|
return new OpenSeadragon.Viewer( options );
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
if (typeof define === 'function' && define.amd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user