Commit 40076bf 1 parent 8039ca0 commit 40076bf Copy full SHA for 40076bf
File tree 1 file changed +2
-2
lines changed
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) {
586
586
// Put this after the other two cases because it simplifies the booleans
587
587
if ( psychotic ) {
588
588
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
590
590
//this especially happens in cases like
591
591
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
592
592
var authInHost = result . host && result . host . indexOf ( '@' ) > 0 ?
@@ -668,7 +668,7 @@ Url.prototype.resolveObject = function(relative) {
668
668
if ( psychotic ) {
669
669
result . hostname = result . host = isAbsolute ? '' :
670
670
srcPath . length ? srcPath . shift ( ) : '' ;
671
- //occationaly the auth can get stuck only in host
671
+ //occasionally the auth can get stuck only in host
672
672
//this especially happens in cases like
673
673
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
674
674
var authInHost = result . host && result . host . indexOf ( '@' ) > 0 ?
You can’t perform that action at this time.
0 commit comments