⚠️ This repository contains security issues - do not use it until consultation with @hejny .
This is simple js and css loader.
Thare should be provided one of these options: ?loader=async ?loader=sync-redirect ?loader=json
?version=[Semantic version] ?type=[js|css|*]
?function=[loaderFunctionName]
Async loader requires jQuery to be included in window.
window.loaderFunctionName(
{
version: '*',
type: 'js'
},
()=>{
//now you can use loaded scripts
}
);
I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can ☕ buy me a coffee or donate via cryptocurrencies.
You can also ⭐ star the loader package, follow me on GitHub or various other social networks.