How do I include plugins in HTML5 Boilerplate (plugins in individual .js-files, local testing)
问题 I'm testing out HTML5 Boilerplate, but I don't quite get how to setup the plugins.js-file. I've tried to copy the contents of plugins in manually, like this: (function($){ //minimized source of plugin #1 })(this.jQuery); (function($){ //minimized source of plugin #2 })(this.jQuery); //and so on... But it got quite time consuming and hard to maintain. I then tried to use the "vender"-folder and include from there: $.getScript("vendor/waypoints.min.js", function(){ alert("Success"); }); But