EmberScript is a CoffeeScript-derived language which takes advantage of the Ember.js runtime. Ember constructs such as Inheritance, Mixins, Bindings, Observers, etc. are all first-class citizens within EmberScript.
var PostsController;var get$ = Emberget;PostsController = EmberArrayControllerextendtrimmedPosts: Embercomputedreturn get$this 'content'slice0 3;property'content.@each';
For a more comprehensive list of live examples, check out the main EmberScript website.
If you are using Rails as your backend, simply add the following to your Gemfile:
All assets ending in
.em will be compiled by EmberScript.
sudo npm install -g 'git://github.com/ghempton/ember-script.git#HEAD'ember-script --help
make -j build test