File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ Url.prototype.resolveObject = function(relative) {
586586 // Put this after the other two cases because it simplifies the booleans
587587 if ( psychotic ) {
588588 result . hostname = result . host = srcPath . shift ( ) ;
589- //occationaly the auth can get stuck only in host
589+ //occasionally the auth can get stuck only in host
590590 //this especially happens in cases like
591591 //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
592592 var authInHost = result . host && result . host . indexOf ( '@' ) > 0 ?
@@ -668,7 +668,7 @@ Url.prototype.resolveObject = function(relative) {
668668 if ( psychotic ) {
669669 result . hostname = result . host = isAbsolute ? '' :
670670 srcPath . length ? srcPath . shift ( ) : '' ;
671- //occationaly the auth can get stuck only in host
671+ //occasionally the auth can get stuck only in host
672672 //this especially happens in cases like
673673 //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
674674 var authInHost = result . host && result . host . indexOf ( '@' ) > 0 ?
You can’t perform that action at this time.
0 commit comments