src: fix jslint warning
authorTrevor Norris <trev.norris@gmail.com>
Wed, 8 Oct 2014 08:13:43 +0000 (01:13 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 8 Oct 2014 08:13:43 +0000 (01:13 -0700)
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
lib/url.js

index d772b4f..e01343a 100644 (file)
@@ -114,7 +114,8 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
   // Back slashes before the query string get converted to forward slashes
   // See: https://code.google.com/p/chromium/issues/detail?id=25916
   var queryIndex = url.indexOf('?'),
-      splitter = (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
+      splitter =
+          (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
       uSplit = url.split(splitter),
       slashRegex = /\\/g;
   uSplit[0] = uSplit[0].replace(slashRegex, '/');