diff options
Diffstat (limited to 'docs/content/guide/dev_guide.expressions.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.expressions.ngdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/guide/dev_guide.expressions.ngdoc b/docs/content/guide/dev_guide.expressions.ngdoc index ab5a897b..57fb9130 100644 --- a/docs/content/guide/dev_guide.expressions.ngdoc +++ b/docs/content/guide/dev_guide.expressions.ngdoc @@ -41,7 +41,7 @@ the `Scope:$eval()` method. 1+2={{1+2}} </doc:source> <doc:scenario> - it('should calculate expression in binding', function(){ + it('should calculate expression in binding', function() { expect(binding('1+2')).toEqual('3'); }); </doc:scenario> @@ -52,7 +52,7 @@ You can try evaluating different expressions here: <doc:example> <doc:source> <script> - function Cntl2(){ + function Cntl2() { this.exprs = []; this.expr = '3*10|currency'; } @@ -70,7 +70,7 @@ You can try evaluating different expressions here: </div> </doc:source> <doc:scenario> - it('should allow user expression testing', function(){ + it('should allow user expression testing', function() { element('.expressions :button').click(); var li = using('.expressions ul').repeater('li'); expect(li.count()).toBe(1); @@ -105,7 +105,7 @@ the global state (a common source of subtle bugs). </div> </doc:source> <doc:scenario> - it('should calculate expression in binding', function(){ + it('should calculate expression in binding', function() { var alertText; this.addFutureAction('set mock', function($window, $document, done) { $window.mockWindow = { @@ -183,7 +183,7 @@ Extensions: You can further extend the expression vocabulary by adding new metho </table> </doc:source> <doc:scenario> - it('should filter the list', function(){ + it('should filter the list', function() { var tr = using('table.example3').repeater('tr.ng-attr-widget'); expect(tr.count()).toBe(5); input('searchText').enter('a'); |
