Created
September 24, 2013 19:30
-
-
Save cynddl/6690035 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript"> | |
paceOptions = { | |
document: false, | |
} | |
</script> | |
<script type="text/javascript" src="bower_components/pace/pace.js" ></script> | |
<link rel="stylesheet" type="text/css" href="bower_components/pace/themes/pace-theme-barber-shop.css"> | |
<script type="text/javascript" src="bower_components/jquery/jquery.js" ></script> | |
<script type="text/javascript" src="bower_components/underscore/underscore.js" ></script> | |
<script type="text/javascript" src="bower_components/backbone/backbone.js" ></script> | |
<script type="text/javascript"> | |
$(function(){ | |
window.Router = Backbone.Router.extend({ | |
routes: { | |
"": "index" | |
}, | |
index: function () { | |
console.log("index"); | |
} | |
}); | |
window.appRouter = new Router(); | |
Backbone.history.start(); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment