JSFiddle - React, Tailwind, and code Playground

by Kerrick

HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.1.2/ember.js"></script>
<script type="text/x-handlebars" id="components/ss-test">
    <h2>Things</h2>
    <ul>
        {{#each things}}
            <li>{{name}}</li>
        {{/each}}
    </ul>
</script>
<script type="text/x-handlebars" id="index">
    {{ss-test things=model}}
    <h2>Models</h2>
    <ul>
        {{#each model}}
            <li>{{name}}</li>
        {{/each}}
    </ul>
</script>

JavaScript

App = Ember.Application.create();

App.IndexController = Ember.ArrayController.extend({
    model: [{id:1,name:'thing one'},{id:2,name:'thing two'}]
});