4

Can someone explain to me how they use the plugins.js file, found in HTML5 Boilerplate. I don't really understand the purpose of it, or how it can be useful.

Thanks! :)

Dave Stibrany
  • 2,369
  • 3
  • 21
  • 21

3 Answers3

7

I wrote a Getting Started guide to help out with that. Let me know if it is not clear!

Divya Manian
  • 1,927
  • 11
  • 16
5

Paul Irish (the author of boilerplate) has made a "official guide" for it, it's hosted on the net.tuts+ network.

Link here

hellozimi
  • 1,858
  • 19
  • 21
2

It's used to add your own jQuery snippets and code inside

(function($){

})(window.jQuery);

Or any custom javascript outside it. They added an option to log and debug your js inside (read the comments inside the file)

Shikiryu
  • 10,180
  • 8
  • 49
  • 75