From 404c3c3c14ba29e998a04cdd3eb9bdcc86ac59bb Mon Sep 17 00:00:00 2001 From: Stefan Penner Date: Fri, 27 Mar 2015 09:10:03 -0700 Subject: [PATCH] some misc formatting cleanup --- .../continuous_redrawing_of_views.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/cookbook/working_with_objects/continuous_redrawing_of_views.md b/source/cookbook/working_with_objects/continuous_redrawing_of_views.md index 34e674387..635d7cf2f 100644 --- a/source/cookbook/working_with_objects/continuous_redrawing_of_views.md +++ b/source/cookbook/working_with_objects/continuous_redrawing_of_views.md @@ -96,7 +96,7 @@ comment was created. ```app/controllers/comment-item.js export default Ember.ObjectController.extend({ - seconds: Ember.computed.oneWay('clock.pulse').readOnly() + seconds: Ember.computed.oneWay('clock.pulse').readOnly() }); ``` @@ -104,18 +104,18 @@ export default Ember.ObjectController.extend({ import ClockService from '../services/clock'; export default Ember.ArrayController.extend({ - itemController: 'commentItem', - comment: null, - actions: { - add: function () { - this.addObject(Em.Object.create({ - comment: this.get('comment'), - clock: ClockService.create() - })); - this.set('comment', null); - } + itemController: 'commentItem', + comment: null, + actions: { + add: function () { + this.addObject(Em.Object.create({ + comment: this.get('comment'), + clock: ClockService.create() + })); + this.set('comment', null); } - }); + } +}); ``` ### Handlebars template which displays the `pulse`