I'm new at this html5boilerplate and jQuery stuff, so please bear with me...
I am a starting a new project based on the H5B v4.3.0 distribution. I want to add the jQuery.form plugin, but I'm not sure where it should go and what it should look like. I see in the plugins.js file the comment saying, "Place and jQuery/helper plugins in here." But, I obviously cannot use
<script src="js/vendor/jquery.form.js"></script>
in the js file.
I have also seen a reference to RequireJS, but that looks like it is going to add way more complexity than I need right now.
Am I correct in thinking that the jquery.form load should go in plugins.js? If so, what does the command look like? If not, and it stays in the index.html, then what's up with that comment?
Thanks, Thom
OBTW, I did see another answer, but other than saying I should use
(function($){
// This is a wrapper for your jQuery stuff
})(this.jQuery);
it doesn't give me any helpful examples. How about showing me how to put just one plugin inside that wrapper?