Skip to content

Instantly share code, notes, and snippets.

@Swelly
Last active December 21, 2015 02:18
Show Gist options
  • Save Swelly/6233769 to your computer and use it in GitHub Desktop.
Save Swelly/6233769 to your computer and use it in GitHub Desktop.
HTML scaffold for JS
<!DOCTYPE html>
<html>
<head>
<title>Title Here</title>
<link rel="stylesheet" type="text/css" href="CSS Here">
</head>
<body>
<div id = "main">
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="https:////cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"type="text/javascript"></script>
<script src="http://ajax.cdnjs.com/ajax/libs/underscore.js/1.5.1/underscore-min.js"></script>
<script src="http://ajax.cdnjs.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>
<script type="text/javascript" src="JAVASCRIPT here"></script>
</body>
</html>
@Swelly
Copy link
Author

Swelly commented Aug 14, 2013

NOTE: Replace the Title, CSS file and Javascript with your own insertions

Also, make sure the scripts appear in the above order and are updated to their current release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment