From 894ffadc8c35da6c7daf3e16a9f4931b24f3b231 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 14 Sep 2010 23:22:15 +0200 Subject: Fixed all trivial jslint violations --- src/scenario/DSL.js | 4 ++-- src/scenario/Runner.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scenario') 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; } -- cgit v1.2.3