From f85c82acd623e63f23a4f3ebba239280f14e380b Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Wed, 20 Apr 2011 00:24:20 +0200 Subject: Fix some typos, missing semi-colons, etc... This is a combination of 4 commits: * Fix some small typos, missing semi-colons, etc. * Fix comment for angular.scenario.SpecRunner.run method * Fixed some missing semi-colons in cookbook * Fixed missing semi-colon in nodeserver/server.js --- src/scenario/SpecRunner.js | 3 +-- src/widgets.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/scenario/SpecRunner.js b/src/scenario/SpecRunner.js index 0e068f95..868c692d 100644 --- a/src/scenario/SpecRunner.js +++ b/src/scenario/SpecRunner.js @@ -16,8 +16,7 @@ angular.scenario.SpecRunner = function() { * based on the describe nesting. * * @param {Object} spec A spec object - * @param {Object} specDone An angular.scenario.Application instance - * @param {Function} Callback function that is called when the spec finshes. + * @param {Function} specDone function that is called when the spec finshes. Function(error, index) */ angular.scenario.SpecRunner.prototype.run = function(spec, specDone) { var self = this; diff --git a/src/widgets.js b/src/widgets.js index 15de0ce5..8caf0a7b 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -627,7 +627,7 @@ angularWidget('option', function(){ it('should load date filter', function(){ expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.date/); }); - it('should change to hmtl filter', function(){ + it('should change to html filter', function(){ select('url').option('angular.filter.html.html'); expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.html/); }); -- cgit v1.2.3