-
Notifications
You must be signed in to change notification settings - Fork 475
Closed
Labels
Description
If I am on the page "http://local.local" and run URI('http://local.local').equals(undefined)
I get true
. Comparing a different URL to undefined gives false. As far as I can tell, this only happens if the argument to URI
is the current page URL.
I assume this is so that URI()
is a shortcut for current URL. This can be differentiated by looking at arguments
. Will make a pull request.
Using version 1.14.1.