JSFiddle - React, Tailwind, and code Playground

by godu

HTML

<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
<script src="http://backbonejs.org/backbone-min.js"></script>
<div id="content"></div>

JavaScript

$(function(){
    var View = Backbone.View.extend({
        template
        render: function() {
            $(this.el).html(new Date().toLocaleTimeString());
            var trotteuse = _.bind(this.render, this);
            _.delay(trotteuse, 1000);
            return $(this.el);
            
        }    
    });
    
    $('#content').html(new View().render());
    
})