yazhouzou-loadjs
v1.0.2
Published
A function for loading JS files.
Downloads
3
Readme
loadJS
A function for loading JS files
Install
npm install yazhouzou-loadjs --save
Usage
- Load a js file
import loadJS from 'yazhouzou-loadjs'
loadJS(
'/path/to/file.js',
function () { /* file.js loaded */ },
function () { /* file.js failed */ }
)