public
Last active

Ember update for Sept 18 2012

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
aug 27
 
Application must call initialize (this is breaking)
disconnectOutlet method added, used rarely
ember-bootstrap project has moved https://github.com/emberjs-addons/ember-bootstrap
dagda1 article on routing http://www.thesoftwaresimpleton.com/blog/2012/08/20/routing_update/
 
sept 10
 
add currentPath to Ember.StateManager and therefore the router as shorthand for calling currentState.path
Ember.Application docs
Trek's article http://trek.github.com/
Ember Handlebars Helpers, Bound and Unbound from Jo Liss http://techblog.fundinggates.com/blog/2012/08/ember-handlebars-helpers-bound-and-unbound/
 
sept 18
 
Handlebars 1.0.rc.1 -> tho named 1.0.7 temporarily due to node/npm issue
mostly bug fixes and reminder it's separated from Ember and must be incl manually
 
addition of "after" to injections
new docs based on YUIDoc
WIP on router API
 
Lots more Stack Overflow questions -- ask people to help
shout outs to http://bradleypriest.com/ + Luke

sept 17

Application.initialize() will be called on DOMContentLoaded unless you specify it not to by setting autoinit: false
You only need to have an application template, to have it be appended and its controller set to the applicationController on Application.ready

Also, inline templates have been removed (anonymous templates that replace themselves). If you don't specify a data-template-name it will be assumed that it is the application template.

Sept 4 added Ember.run.scheduleOnce which is same as Ember.run.once except it lets you specify a queue.

Oct 19 you can use the each helper like the collection helper and specify an itemViewClass attribute.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.