diff --git a/src/dzitilesource.js b/src/dzitilesource.js index 7ca2a279..9410ee68 100644 --- a/src/dzitilesource.js +++ b/src/dzitilesource.js @@ -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( $ ){ diff --git a/src/fullscreen.js b/src/fullscreen.js index bde5b78c..feeab0b5 100644 --- a/src/fullscreen.js +++ b/src/fullscreen.js @@ -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}"); diff --git a/src/openseadragon.js b/src/openseadragon.js index b6d7b5f2..dbd22e27 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -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 || [],