mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 13:53:31 +03:00
Add 'define' as a global in JSHint
This commit is contained in:
parent
00459189b1
commit
f799a1fe86
2 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
"unused": false,
|
||||
|
||||
"globals": {
|
||||
"OpenSeadragon": true
|
||||
"OpenSeadragon": true,
|
||||
"define": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -682,7 +682,9 @@
|
|||
* @returns {OpenSeadragon.Viewer}
|
||||
*/
|
||||
window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||
|
||||
return new OpenSeadragon.Viewer( options );
|
||||
|
||||
};
|
||||
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
|
Loading…
Add table
Reference in a new issue