diff options
author | Joshaven Potter <yourtech@gmail.com> | 2010-10-07 07:05:23 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-07 07:40:57 +0400 |
commit | 3d4e4d89099f1c08e586060961ed884e5f52301a (patch) | |
tree | 7d15462001773751a6831479f8faac8c1707590e /lib/url.js | |
parent | 9481bc1009765b24390239a1d7d88bebae5db731 (diff) |
syntax fixes to pass jslint
Diffstat (limited to 'lib/url.js')
-rw-r--r-- | lib/url.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.js b/lib/url.js index 45dea833b25..2a9a5cfd703 100644 --- a/lib/url.js +++ b/lib/url.js @@ -284,7 +284,7 @@ function urlResolveObject (source, relative) { mustEndAbs = mustEndAbs || (source.host && srcPath.length); - if (mustEndAbs && srcPath[0] !== "") srcPath.unshift("") + if (mustEndAbs && srcPath[0] !== "") srcPath.unshift(""); source.pathname = srcPath.join("/"); |