William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

Backbone, twitter bootstrap CDN

Backbone, twitter bootstrap CDN

Here I list some CDNs for quick applying, regarding on Backbone mixing with Twitter Bootstrap:

//1. jQuery			
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>

//2. twitter-bootstrap
<!-- Complete CSS (Responsive, With Icons) -->
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>

//3.a. backbone, underscore
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>

//or: 3.b.
<script src="http://documentcloud.github.io/underscore/underscore-min.js" type="text/javascript"></script>
<script src="http://documentcloud.github.io/backbone/backbone-min.js" type="text/javascript"></script>

Copy them, and paste them to any html files to start an Backbone MVC application quickly!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: