emberjs/ember.js — pull request #1397 by joliss (2012-09-21 19:56:07+00:00)
Title: Use get, not direct access, to get stateManager events

The motivation for this is to be able to have properties that return an
event handler function, e.g. like so:

doSomethingDynamic: (function() {
if (...) {
return Ember.Route.transitionTo('foo');
} else {
return Ember.Route.transitionTo('bar');
}
}).property(...)