ember-script icon indicating copy to clipboard operation
ember-script copied to clipboard

Ember-infused CoffeeScript

Results 28 ember-script issues
Sort by recently updated
recently updated
newest added

``` coffeescript App*.Router.map -> @resource "advisors", path: "/" @resource "advisor", path: "/advisor/:advisor_id", -> @resource "advisor.accounts", path: "/accounts", -> @route "new" @resource "advisor.profile", path: "/profile", -> @route "update" @resource "advisor.tickets", path:...

Would be nice to have a standard set of blueprints to use. Could each be prefixed with `es-` so as not to override default ones. Or the developer could have...

Proposed syntax: `foo['bar']` to be the equivalent of `foo.bar` (i.e. ember's getter/setter); `foo*['bar']` would be its native equivalent. Main use case is for dynamic property access. In vanilla js, when...

In the first example, you have: ``` trimmedPosts: ~> @content?.slice(0, 3) ``` It seemed to me that the CoffeeScript way of doing this is ``` @content?[0...3] ``` While that line...

Does anybody have an example of how to use the sourceMap or jsWithSourceMap functions in ember-script.js to generate a source map for an emberscript file? I posted my attempts in...

This is valid coffeescript.. ``` setTimeout -> alert("OH HAI!") , 500 ``` ..but throws a compilation error in ember-script: ``` Error: Syntax error on line 140, column 4: unexpected ','...

Hi there, current head compiles this: `@bar.contains(@foo)` to `get$(this, 'bar').contains(this.foo);`. It should be `get$(this, 'bar').contains(get$(this, 'foo'));`

Hello, it would be nice to add +beforeObserver annotation that compiles to http://emberjs.com/api/#method_beforeObserver.

Hello, dependency inference doesn't work for me in this code: EmberScript: ``` coffeescript style: ~> CSSEncoder.encode width: "#{@controller.width*100}%" height: "#{@controller.height*100}%" left: "#{@controller.left*100}%" top: "#{@controller.top*100}%" ``` JavaScript: ``` javascript style: Ember.computed(function...