aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVojta Jina2011-04-20 00:24:20 +0200
committerIgor Minar2011-04-25 08:17:17 -0700
commitf85c82acd623e63f23a4f3ebba239280f14e380b (patch)
treed4e18fa18ce3415586b736def8edfbe93d9366b1 /src
parent35bb19856cc8f3d8923305869c0d4ffa4a03aa8f (diff)
downloadangular.js-f85c82acd623e63f23a4f3ebba239280f14e380b.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/scenario/SpecRunner.js3
-rw-r--r--src/widgets.js2
2 files changed, 2 insertions, 3 deletions
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/);
});