Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI(undefined) now throws type error #196

Merged
merged 1 commit into from
Mar 11, 2015
Merged

URI(undefined) now throws type error #196

merged 1 commit into from
Mar 11, 2015

Commits on Mar 11, 2015

  1. URI(undefined) now throws type error

    Note that this differs from URI() which still works as a shortcut for
    URI(location).
    
    Since there is no reason to explicitly call URI with undefined, it is
    safe to assume that this happens because of user error. URI now
    correctly throws a type error with a message explaining that undefined
    is not a valid argument.
    joladev committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    35dd050 View commit details
    Browse the repository at this point in the history