Comparing version 2.3.0 to 2.3.1
{ | ||
"name": "aos", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Animate on scroll library", | ||
"homepage": "http://michalsnik.github.io/aos/", | ||
"homepage": "https://michalsnik.github.io/aos/", | ||
"author": "Michał Sajnóg <michal.sajnog@hotmail.com>", | ||
@@ -7,0 +7,0 @@ "license": "MIT", |
@@ -27,6 +27,2 @@ /** | ||
// Detect not supported browsers (<=IE9) | ||
// http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 | ||
const browserNotSupported = document.all && !window.atob; | ||
/** | ||
@@ -114,2 +110,6 @@ * Default options | ||
// Detect not supported browsers (<=IE9) | ||
// http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 | ||
const browserNotSupported = document.all && !window.atob; | ||
/** | ||
@@ -116,0 +116,0 @@ * Don't init plugin if option `disable` is set |
@@ -1,3 +0,6 @@ | ||
const doc = window.document; | ||
const MutationObserver = | ||
let callback = () => {}; | ||
function ready(selector, fn) { | ||
const doc = window.document; | ||
const MutationObserver = | ||
window.MutationObserver || | ||
@@ -7,5 +10,2 @@ window.WebKitMutationObserver || | ||
let callback = () => {}; | ||
function ready(selector, fn) { | ||
const observer = new MutationObserver(check); | ||
@@ -12,0 +12,0 @@ callback = fn; |
Sorry, the diff of this file is not supported yet
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
434004