JSFiddle - React, Tailwind, and code Playground
by skane
HTML
<script src="https://raw.github.com/wycats/handlebars.js/1.0.0-rc.3/dist/handlebars.js"></script>
<script src="https://raw.github.com/emberjs/ember.js/release-builds/ember-1.0.0-rc.1.js"></script>
<script type="text/x-handlebars">
{{#each workitem in controller}}
{{workitem.title}}<br>
{{workitem.timeExpected}}<br>
{{workitem.timeSpent}}<br>
{{/each}}
</script>
CSS
div.firebutton {
height: 50px;
width: 100px;
background-color: green;
}
CoffeeScript
window.App = Ember.Application.create
LOG_TRANSITIONS: true
App.WorkItem = Ember.Object.extend
title: 'test',
timeExpected: 30,
timeSpent: 0
myWorkItems = [App.WorkItem.create(), App.WorkItem.create()]
App.ApplicationController = Ember.ArrayController.extend()
App.ApplicationRoute = Ember.Route.extend
setupController: (controller, model) ->
controller.set "content", myWorkItems