JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/base/jquery-ui.css">
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.5.3/backbone-min.js"></script>
JavaScript
$(document).ready(function(){
console.log(Backbone);
/*
// We extend the Backbone.Model prototype to build our own
var Donut = Backbone.Model.extend({
// We can pass it default values.
defaults : {
name : null,
sparkles : false,
cream_filled : false
}
*/
/*
url : function() {
// Important! It's got to know where to send its REST calls.
// In this case, POST to '/donuts' and PUT to '/donuts/:id'
return this.id ? '/donuts/' + this.id : '/donuts';
}
*/
});
// console.log(Donut);
});//end document ready