diff options
| author | Misko Hevery | 2010-09-14 23:22:15 +0200 |
|---|---|---|
| committer | Misko Hevery | 2010-09-14 23:22:15 +0200 |
| commit | 894ffadc8c35da6c7daf3e16a9f4931b24f3b231 (patch) | |
| tree | b96beb2111540f928bfcf410afae8036c312c046 /src/scenario/DSL.js | |
| parent | e3f760fbadedc977d9f5f461feafbaecab5a9046 (diff) | |
| download | angular.js-894ffadc8c35da6c7daf3e16a9f4931b24f3b231.tar.bz2 | |
Fixed all trivial jslint violations
Diffstat (limited to 'src/scenario/DSL.js')
| -rw-r--r-- | src/scenario/DSL.js | 4 |
1 files changed, 2 insertions, 2 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 =/\{\{[^\}]+\}\}/; |
