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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scenario/DSL.js') 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 =/\{\{[^\}]+\}\}/; -- cgit v1.2.3