Skip to content

Commit

Permalink
Add more requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Jun 18, 2017
1 parent eb2559f commit 213121e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const ApplicationInstance = EngineInstance.extend({
@public
@param url {String} the destination URL
@return {Promise<undefined>}
@return {Promise<Ember.ApplicationInstance>}
*/
visit(url) {
this.setupRouter();
Expand Down
8 changes: 4 additions & 4 deletions packages/ember-routing/lib/system/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
@method beforeModel
@param {Transition} transition
@return {Promise<any>} if the value returned from this hook is
@return {any | Promise<any>} if the value returned from this hook is
a promise, the transition will pause until the transition
resolves. Otherwise, non-promise return values are not
utilized in any way.
Expand Down Expand Up @@ -1408,7 +1408,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
@param {Object} resolvedModel the value returned from `model`,
or its resolved value if it was a promise
@param {Transition} transition
@return {Promise<any>} if the value returned from this hook is
@return {any | Promise<any>} if the value returned from this hook is
a promise, the transition will pause until the transition
resolves. Otherwise, non-promise return values are not
utilized in any way.
Expand Down Expand Up @@ -1527,7 +1527,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
@method model
@param {Object} params the parameters extracted from the URL
@param {Transition} transition
@return {Object|Promise<Object>} the model for this route. If
@return {any | Promise<any>} the model for this route. If
a promise is returned, the transition will pause until
the promise resolves, and the resolved value of the promise
will be used as the model for this route.
Expand Down Expand Up @@ -1568,7 +1568,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
@method deserialize
@param {Object} params the parameters extracted from the URL
@param {Transition} transition
@return {Object|Promise<Object>} the model for this route.
@return {any | Promise<any>} the model for this route.
Router.js hook.
*/
Expand Down

0 comments on commit 213121e

Please sign in to comment.