Merge pull request #1761 from openseadragon/ig-update

Updated NPM packages
This commit is contained in:
Ian Gilman 2020-01-02 09:58:20 -08:00 committed by GitHub
commit ae4f586714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2003 additions and 1879 deletions

3830
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,14 +29,14 @@
},
"devDependencies": {
"grunt": "^1.0.4",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-compress": "^1.5.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-compress": "^1.6.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-connect": "^2.1.0",
"grunt-contrib-qunit": "^3.1.0",
"grunt-contrib-uglify": "^3.4.0",
"grunt-contrib-uglify": "^4.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-eslint": "^20.2.0",
"grunt-eslint": "^22.0.0",
"grunt-git-describe": "^2.4.4",
"grunt-istanbul": "^0.8.0",
"grunt-text-replace": "^0.4.0",

View File

@ -2499,7 +2499,7 @@
// If isPrimary is not known for the pointer then set it according to our rules:
// true if the first pointer in the gesture, otherwise false
if ( !gPoint.hasOwnProperty( 'isPrimary' ) ) {
if ( !Object.prototype.hasOwnProperty.call( gPoint, 'isPrimary' ) ) {
if ( pointsList.getLength() === 0 ) {
gPoint.isPrimary = true;
} else {
@ -2535,7 +2535,7 @@
listLength = pointsList.removeById( gPoint.id );
// If isPrimary is not known for the pointer and we just removed the primary pointer from the list then we need to set another pointer as primary
if ( !gPoint.hasOwnProperty( 'isPrimary' ) ) {
if ( !Object.prototype.hasOwnProperty.call( gPoint, 'isPrimary' ) ) {
primaryPoint = pointsList.getPrimary();
if ( !primaryPoint ) {
primaryPoint = pointsList.getByIndex( 0 );
@ -3172,7 +3172,7 @@
if ( updateGPoint ) {
// Already tracking the pointer...update it
if ( curGPoint.hasOwnProperty( 'isPrimary' ) ) {
if ( Object.prototype.hasOwnProperty.call( curGPoint, 'isPrimary' ) ) {
updateGPoint.isPrimary = curGPoint.isPrimary;
}
updateGPoint.lastPos = updateGPoint.currentPos;

View File

@ -735,7 +735,7 @@
*
*/
/* eslint-disable no-redeclare */
function OpenSeadragon( options ){
return new OpenSeadragon.Viewer( options );
}
@ -2256,7 +2256,7 @@ function OpenSeadragon( options ){
if (headers) {
for (var headerName in headers) {
if (headers.hasOwnProperty(headerName) && headers[headerName]) {
if (Object.prototype.hasOwnProperty.call(headers, headerName) && headers[headerName]) {
request.setRequestHeader(headerName, headers[headerName]);
}
}
@ -2291,7 +2291,7 @@ function OpenSeadragon( options ){
request.onreadystatechange = function(){};
if (window.XDomainRequest) { // IE9 or IE8 might as well try to use XDomainRequest
var xdr = new XDomainRequest();
var xdr = new window.XDomainRequest();
if (xdr) {
xdr.onload = function (e) {
if ( $.isFunction( onSuccess ) ) {

View File

@ -1714,10 +1714,10 @@ function providesCoverage( coverage, level, x, y ) {
if ( x === undefined || y === undefined ) {
rows = coverage[ level ];
for ( i in rows ) {
if ( rows.hasOwnProperty( i ) ) {
if ( Object.prototype.hasOwnProperty.call( rows, i ) ) {
cols = rows[ i ];
for ( j in cols ) {
if ( cols.hasOwnProperty( j ) && !cols[ j ] ) {
if ( Object.prototype.hasOwnProperty.call( cols, j ) && !cols[ j ] ) {
return false;
}
}