modularload
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -34,2 +34,6 @@ 'use strict'; | ||
function _iterableToArrayLimit(arr, i) { | ||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { | ||
return; | ||
} | ||
var _arr = []; | ||
@@ -122,3 +126,3 @@ var _n = true; | ||
while (target && target !== document) { | ||
if (target.matches('a')) { | ||
if (target.matches('a') && target.getAttribute('download') == null) { | ||
var href = target.getAttribute('href'); | ||
@@ -316,3 +320,3 @@ | ||
_this3.isLoading = false; | ||
}).catch(function (err) { | ||
})["catch"](function (err) { | ||
console.log(err); | ||
@@ -319,0 +323,0 @@ }); |
@@ -32,2 +32,6 @@ function _classCallCheck(instance, Constructor) { | ||
function _iterableToArrayLimit(arr, i) { | ||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { | ||
return; | ||
} | ||
var _arr = []; | ||
@@ -120,3 +124,3 @@ var _n = true; | ||
while (target && target !== document) { | ||
if (target.matches('a')) { | ||
if (target.matches('a') && target.getAttribute('download') == null) { | ||
var href = target.getAttribute('href'); | ||
@@ -314,3 +318,3 @@ | ||
_this3.isLoading = false; | ||
}).catch(function (err) { | ||
})["catch"](function (err) { | ||
console.log(err); | ||
@@ -317,0 +321,0 @@ }); |
{ | ||
"name": "modularload", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Dead simple page transitions and lazy loading.", | ||
@@ -14,8 +14,8 @@ "repository": "modularorg/modularload", | ||
"devDependencies": { | ||
"@babel/core": "^7.3.4", | ||
"@babel/preset-env": "^7.3.4", | ||
"rollup": "^1.4.0", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-node-resolve": "^4.0.1" | ||
"@babel/core": "^7.7.2", | ||
"@babel/preset-env": "^7.7.1", | ||
"rollup": "^1.27.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-node-resolve": "^5.2.0" | ||
} | ||
} |
@@ -52,3 +52,3 @@ export default class { | ||
while (target && target !== document) { | ||
if (target.matches('a')) { | ||
if (target.matches('a') && target.getAttribute('download') == null) { | ||
const href = target.getAttribute('href'); | ||
@@ -55,0 +55,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47501
1176