JSFiddle - React, Tailwind, and code Playground
by bry4n
HTML
<script src="https://raw.github.com/douglascrockford/JSON-js/master/json2.js"></script>
<script src="http://underscorejs.org/underscore-min.js"></script>
<script src="http://backbonejs.org/backbone-min.js"></script>
<script src="http://hnterest.com/js/icanhaz.min.js"></script>
<div id="data">
</div>
<script id="github" type="text/html">
<b> {{ name }} </b>
</script>
CoffeeScript
class HNModel extends Backbone.Model
class HNCollection extends Backbone.Collection
model: HNModel
url: "https://api.github.com/users/bry4n"
class HNView extends Backbone.View
el: $('#data')
initialize: ->
@collection = new HNCollection({view: this})
@collection.bind 'reset', @render
@collection.fetch()
render: =>
@collection.each (model) ->
console.log model
$("#data").append(ich.github(model.toJSON()));
view = new HNView