HTML5 Boilerplate plugins.js question

点点圈 提交于 2019-12-10 15:13:11

问题


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! :)


回答1:


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




回答2:


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

Link here




回答3:


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)



来源:https://stackoverflow.com/questions/4552472/html5-boilerplate-plugins-js-question

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!