medialize/URI.js — pull request #27 by mutewinter (2012-05-19 13:08:39+00:00)
Title: Fixes TypeError for domain() when domain reads as blank.

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