33 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<html>
 | 
						|
 | 
						|
<head>
 | 
						|
  <link rel="stylesheet" href="//codepen.io/CodePenTemplates/pen/GNoNGy.css" />
 | 
						|
  <link rel="stylesheet" href="//codepen.io/CodePenTemplates/pen/XNXpgM.css" />
 | 
						|
</head>
 | 
						|
 | 
						|
<body>
 | 
						|
  <section class="markdown-body">
 | 
						|
    <p><a href="https://html5boilerplate.com">HTML5 Boilerplate homepage</a> | <a href="TOC.md">Documentation
 | 
						|
table of contents</a></p>
 | 
						|
    <h1 id="the-javascript">The JavaScript</h1>
 | 
						|
    <p>Information about the default JavaScript included in the project.</p>
 | 
						|
    <h2 id="main-js">main.js</h2>
 | 
						|
    <p>This file can be used to contain or reference your site/app JavaScript code. For larger projects, you can make use of a JavaScript module loader, like
 | 
						|
      <a href="http://requirejs.org/">Require.js</a>, to load any other scripts you need to run.
 | 
						|
    </p>
 | 
						|
    <h2 id="plugins-js">plugins.js</h2>
 | 
						|
    <p>This file can be used to contain all your plugins, such as jQuery plugins and other 3rd party scripts.</p>
 | 
						|
    <p>One approach is to put jQuery plugins inside of a <code>(function($){ ...
 | 
						|
})(jQuery);</code> closure to make sure they're in the jQuery namespace safety blanket. Read more about <a href="https://learn.jquery.com/plugins/#Getting_Started">jQuery plugin
 | 
						|
authoring</a>.</p>
 | 
						|
    <p>By default the <code>plugins.js</code> file contains a small script to avoid <code>console</code> errors in browsers that lack a <code>console</code>. The script will make sure that, if a console method isn't available, that method will have the
 | 
						|
      value of empty function, thus, preventing the browser from throwing an error.</p>
 | 
						|
    <h2 id="vendor">vendor</h2>
 | 
						|
    <p>This directory can be used to contain all 3rd party library code.</p>
 | 
						|
    <p>Minified versions of the latest jQuery and Modernizr libraries are included by default. You may wish to create your own <a href="http://www.modernizr.com/download/">custom Modernizr
 | 
						|
build</a>.</p>
 | 
						|
 | 
						|
  </section>
 | 
						|
</body>
 | 
						|
 | 
						|
</html> |