url: Set href to null by default
authorisaacs <i@izs.me>
Mon, 3 Jun 2013 23:02:51 +0000 (16:02 -0700)
committerisaacs <i@izs.me>
Mon, 3 Jun 2013 23:02:51 +0000 (16:02 -0700)
lib/url.js

index db77238..fc8f77d 100644 (file)
@@ -40,6 +40,7 @@ function Url() {
   this.query = null;
   this.pathname = null;
   this.path = null;
+  this.href = null;
 }
 
 // Reference: RFC 3986, RFC 1808, RFC 2396