Skip to content

Instantly share code, notes, and snippets.

@joewest
Created September 18, 2012 20:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joewest/3745557 to your computer and use it in GitHub Desktop.
Save joewest/3745557 to your computer and use it in GitHub Desktop.
Ember update for Sept 18 2012
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
@krisselden
Copy link

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

@krisselden
Copy link

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.

@krisselden
Copy link

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

@krisselden
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment