JSFiddle - React, Tailwind, and code Playground
by skane
HTML
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.1/ember.js"></script>
<script type="text/x-handlebars">
{{#each thing in things}}
{{thing}}
<button {{action deleteThing thing}}>DELETE</button><br>
{{/each}}
</script>
CoffeeScript
window.App = Em.Application.create()
App.ApplicationController = Em.Controller.extend
things: [Em.Object.create(), Em.Object.create()]
deleteThing: (thing) ->
@get('things').removeObject(thing)