Fixes TypeError for domain() when domain reads as blank. #27

Merged
merged 1 commit into from May 19, 2012

Conversation

Projects
None yet
2 participants
Contributor

mutewinter commented May 19, 2012

When calling url.domain() or url.subdomain() on a URI of the form http://test/, a TypeError results. This patch fixes that error.

rodneyrehm merged commit 5e3817d into medialize:gh-pages May 19, 2012

Owner

rodneyrehm commented May 19, 2012

good catch! I added some tests and released version 1.6.1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment