JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script src="https://raw.github.com/wycats/handlebars.js/1.0.rc.2/dist/handlebars.js"></script>
<script src="https://raw.github.com/emberjs/ember.js/release-builds/ember-1.0.0-pre.4.js"></script>
Hello
<script type="text/x-handlebars" data-template-name="random">
{{#view Em.Button action="doClick" target="controller"}}Copy{{/view}}
</script>
JavaScript
App = Em.Application.create();
App.Router.map(function () {
this.route('index');
});
App.Key = Em.Object.create(Em.Copyable, {
first: 1,
second: 2
});
App.IndexController = Em.Controller.extend({
doClick: function () {
var k = Em.copy(App.Key);
}
});
App.IndexView = Em.View.extend({
templateName: 'random'
});