Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function loadScripts(url){
- /* function for loading scripts we depend on
- * Reason for this is that we do not need to change the plugin code if we want to implement new scripts
- */
- var scripts = ["demo.js","loadme.js"];
- jQuery(scripts).each(function(index,value){
- jQuery.getScript(url+"/"+value);
- });
- }
- loadScripts("http://mydomain.com/shop/scripts");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement