@beyonk/async-script-loader
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,2 @@ | ||
export default function (url, test, callback, options = { async = true, defer = true }) { | ||
export default function (url, test, callback, options = { async: true, defer: true }) { | ||
if (!test()) { | ||
@@ -3,0 +3,0 @@ const tag = document.createElement('script') |
{ | ||
"name": "@beyonk/async-script-loader", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Loads scripts cleanly and asynchronously in SPAs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4410