mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
Declare assumed globals
This commit is contained in:
parent
e2bea810e3
commit
8c433ba81c
@ -31,6 +31,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/* global processDZIError:true */
|
||||
|
||||
(function( $ ){
|
||||
|
||||
|
@ -121,6 +121,7 @@
|
||||
// Older IE. Support based on:
|
||||
// http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen/7525760
|
||||
fullScreenApi.requestFullScreen = function(){
|
||||
/* global ActiveXObject:true */
|
||||
var wscript = new ActiveXObject("WScript.Shell");
|
||||
if ( wscript !== null ) {
|
||||
wscript.SendKeys("{F11}");
|
||||
|
@ -1283,6 +1283,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||
request = new XMLHttpRequest();
|
||||
} else if ( window.ActiveXObject ) {
|
||||
/*jshint loopfunc:true*/
|
||||
/* global ActiveXObject:true */
|
||||
for ( var i = 0; i < ACTIVEX.length; i++ ) {
|
||||
try {
|
||||
request = new ActiveXObject( ACTIVEX[ i ] );
|
||||
@ -1832,6 +1833,8 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||
* @deprecated
|
||||
*/
|
||||
function processDZI( imageNode, tilesUrl ) {
|
||||
/* global imageFormatSupported:true */
|
||||
|
||||
var fileFormat = imageNode.getAttribute( "Format" ),
|
||||
sizeNode = imageNode.getElementsByTagName( "Size" )[ 0 ],
|
||||
dispRectNodes = imageNode.getElementsByTagName( "DisplayRect" ),
|
||||
@ -1883,6 +1886,8 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
||||
* @deprecated
|
||||
*/
|
||||
function processDZIJSON( imageData, tilesUrl ) {
|
||||
/* global imageFormatSupported:true */
|
||||
|
||||
var fileFormat = imageData.Format,
|
||||
sizeData = imageData.Size,
|
||||
dispRectData = imageData.DisplayRect || [],
|
||||
|
Loading…
Reference in New Issue
Block a user