Skip to content

Commit

Permalink
Merge pull request #12693 from thomascchen/doc-remove-function-whites…
Browse files Browse the repository at this point in the history
…pace

[DOC release] Remove whitespace from function declaration
  • Loading branch information
rwjblue committed Dec 9, 2015
2 parents 8fbcf6d + cc325dd commit cb980bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ember-routing/lib/system/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ var Route = EmberObject.extend(ActionHandler, Evented, {
App.ArticlesRoute = Ember.Route.extend({
// ...
resetController: function (controller, isExiting, transition) {
resetController: function(controller, isExiting, transition) {
if (isExiting) {
controller.set('page', 1);
}
Expand Down Expand Up @@ -1626,7 +1626,7 @@ var Route = EmberObject.extend(ActionHandler, Evented, {
return this.store.findAll('photo');
},
setupController: function (controller, model) {
setupController: function(controller, model) {
// Call _super for default behavior
this._super(controller, model);
// Implement your custom setup after
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-runtime/lib/system/object_proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import _ProxyMixin from 'ember-runtime/mixins/-proxy';
```javascript
ProxyWithComputedProperty = Ember.ObjectProxy.extend({
fullName: function () {
fullName: function() {
var firstName = this.get('firstName'),
lastName = this.get('lastName');
if (firstName && lastName) {
Expand Down

0 comments on commit cb980bc

Please sign in to comment.