JSFiddle - React, Tailwind, and code Playground

by Eric Howe

HTML

<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
<script src="http://documentcloud.github.com/backbone/backbone-min.js"></script>

JavaScript

var Model = Backbone.Model.extend({
    initialize: function() {
        console.log('Model', arguments);
    }
});
var TestModel = Model.extend({
    initialize: function() {
        // Set up the Spy stuff...
        console.log('TestModel');
        Model.prototype.initialize.apply(this, arguments);
    }
});

new TestModel({ some: 'option'});