aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario
diff options
context:
space:
mode:
authorMisko Hevery2010-09-14 23:22:15 +0200
committerMisko Hevery2010-09-14 23:22:15 +0200
commit894ffadc8c35da6c7daf3e16a9f4931b24f3b231 (patch)
treeb96beb2111540f928bfcf410afae8036c312c046 /src/scenario
parente3f760fbadedc977d9f5f461feafbaecab5a9046 (diff)
downloadangular.js-894ffadc8c35da6c7daf3e16a9f4931b24f3b231.tar.bz2
Fixed all trivial jslint violations
Diffstat (limited to 'src/scenario')
-rw-r--r--src/scenario/DSL.js4
-rw-r--r--src/scenario/Runner.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/scenario/DSL.js b/src/scenario/DSL.js
index 0607238c..dc85ea45 100644
--- a/src/scenario/DSL.js
+++ b/src/scenario/DSL.js
@@ -24,7 +24,7 @@ angular.scenario.dsl.browser = {
href: "",
hash: "",
toEqual: function(url) {
- return (this.hash == "" ? (url == this.href) :
+ return (this.hash === "" ? (url == this.href) :
(url == (this.href + "/#/" + this.hash)));
},
setLocation: function(url) {
@@ -56,7 +56,7 @@ angular.scenario.dsl.input = function(selector) {
});
}
};
-},
+};
angular.scenario.dsl.NG_BIND_PATTERN =/\{\{[^\}]+\}\}/;
diff --git a/src/scenario/Runner.js b/src/scenario/Runner.js
index d1a9271b..77969618 100644
--- a/src/scenario/Runner.js
+++ b/src/scenario/Runner.js
@@ -107,7 +107,7 @@ angular.scenario.Runner.prototype = {
} else {
self.scope.$testrun.done = true;
}
- };
+ }
callback();
},
@@ -176,7 +176,7 @@ angular.scenario.Runner.prototype = {
steps: futuresFulfilled});
done();
}
- };
+ }
next();
return specThis;
}