File rename and clean up

This commit is contained in:
Sam Potts
2019-06-21 00:19:37 +10:00
parent c4b3e0672e
commit 8fc6c2ba52
18 changed files with 14 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
// ==========================================================================
// Load an external script
// ==========================================================================
import loadjs from 'loadjs';
export default function loadScript(url) {
return new Promise((resolve, reject) => {
loadjs(url, {
success: resolve,
error: reject,
});
});
}