File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ URI.parse = function(string) {
212212} ;
213213URI . parseHost = function ( string , parts ) {
214214 // extract host:port
215- var pos = string . indexOf ( '/' ) ;
215+ var pos = string . indexOf ( '/' ) , t ;
216216 if ( pos === - 1 ) {
217217 pos = string . length ;
218218 }
@@ -245,7 +245,8 @@ URI.parseHost = function(string, parts) {
245245URI . parseAuthority = function ( string , parts ) {
246246 // extract username:password
247247 var pos = string . indexOf ( '@' ) ,
248- firstSlash = string . indexOf ( '/' ) ;
248+ firstSlash = string . indexOf ( '/' ) ,
249+ t ;
249250
250251 // authority@ must come before /path
251252 if ( pos > - 1 && ( firstSlash === - 1 || pos < firstSlash ) ) {
@@ -889,7 +890,7 @@ p.suffix = function(v, build) {
889890
890891 var filename = this . filename ( ) ,
891892 pos = filename . lastIndexOf ( '.' ) ,
892- s ;
893+ s , res ;
893894
894895 if ( pos === - 1 ) {
895896 return "" ;
You can’t perform that action at this time.
0 commit comments