Simple starting point for Ember.js fiddles

by pangratz666

HTML

<script src="https://github.com/downloads/emberjs/ember.js/ember-0.9.5.js"></script>
<script type="text/x-handlebars" >
    {{view App.TextField valueBinding="App.value" placeholder="Your name" name="your_name" }}
</script>

JavaScript

App = Ember.Application.create();

App.TextField = Ember.TextField.extend({
    attributeBindings: 'name'.w(),    
    didInsertElement: function() {
        console.log(this.$().attr('name'));
    }
});