Installation
npm install loader-aj
USE
// UMD Format AJLoader
import AJLoader from 'loader-aj'
AJLoader([
'http://www.sina.com.cn/css/79/index2016/v0510/index.css',
'http://rollupjs.org/codemirror/lib/codemirror.js',
'https://g.alicdn.com/aliww/ww/jquery/1.x/jquery.js'
])
.done(function() {
console.log('ok')
})
.fail(function() {
console.log('fail')
})
License
Apache-2.0 © apathyjade