JSFiddle - React, Tailwind, and code Playground
by umeshpatil86
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="http://ajax.cdnjs.com/ajax/libs/underscore.js/1.1.6/underscore-min.js"></script>
<script src="http://ajax.cdnjs.com/ajax/libs/backbone.js/0.3.3/backbone-min.js"></script>
<div id='output'></div>
JavaScript
Person = Backbone.Model.extend({
initialize: function() {
//console.log('hello world');
alert('hello word');
document.getElementById('output').innerHTML='hello world';
}
});
var person = new Person();