Skip to content

Commit

Permalink
Merge pull request emberjs#2078 from stefanpenner/fix_docs
Browse files Browse the repository at this point in the history
[Fixes: emberjs#2049] Missing docs
  • Loading branch information
wagenet committed Feb 15, 2013
2 parents 0f6b342 + 4b97536 commit c532d6a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions packages/ember-routing/lib/system/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,45 @@ var get = Ember.get, set = Ember.set,
@extends Ember.Object
*/
Ember.Route = Ember.Object.extend({
/**
@private
@method exit
*/
exit: function() {
this.deactivate();
teardownView(this);
},

/**
@private
@method enter
*/
enter: function() {
this.activate();
},

/**
The collection of functions keyed by name available on this route as
action targets.
These functions will be invoked when a matching `{{action}}` is triggered
from within a template and the application's current route is this route.
Events can also be invoked from other parts of your application via `Route#send`.
The context of event will be the this route.
@see {Ember.Route#send}
@see {Handlebars.helpers.action}
@property events
@type Hash
@default null
*/
events: null,

/**
This hook is executed when the router completely exits this route. It is
not executed when the model for the route changes.
Expand Down

0 comments on commit c532d6a

Please sign in to comment.