Comparing version 1.8.0 to 1.8.1
{ | ||
"name": "URIjs", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"title": "URI.js - Mutating URLs", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -210,2 +210,6 @@ # URI.js # | ||
### 1.8.1 (November 15th 2012) ### | ||
* fixing build() to properly omit empty query and fragment ([Issue #53](https://github.com/medialize/URI.js/issues/53)) | ||
### 1.8.0 (November 13th 2012) ### | ||
@@ -216,3 +220,3 @@ | ||
* adding default ports for gopher, ws, wss | ||
* adding [`.duplicateQueryParameters()`](http://medialize.github.com/URI.js/docs.html#setting-duplicateQueryParameters) to control if `key=value` duplicates have to be preserved or reduced ([Issue #51](https://github.com/medialize/URI.js/issues/51) | ||
* adding [`.duplicateQueryParameters()`](http://medialize.github.com/URI.js/docs.html#setting-duplicateQueryParameters) to control if `key=value` duplicates have to be preserved or reduced ([Issue #51](https://github.com/medialize/URI.js/issues/51)) | ||
* updating [Punycode.js](https://github.com/bestiejs/punycode.js/) to version 1.1.1 | ||
@@ -223,3 +227,3 @@ * improving AMD/Node using [UMD returnExports](https://github.com/umdjs/umd/blob/master/returnExports.js) - ([Issue #44](https://github.com/medialize/URI.js/issues/44), [Issue #47](https://github.com/medialize/URI.js/issues/47)) | ||
* fixing parsing of Windows-Drive-Letter paths `file://C:/WINDOWS/foo.txt` | ||
* fixing `URI(location)` to properly parse the URL - ([Issue #50](https://github.com/medialize/URI.js/issues/50)) | ||
* fixing `URI(location)` to properly parse the URL - ([Issue #52](https://github.com/medialize/URI.js/issues/52)) | ||
* fixing type error for fragment abuse demos - ([Issue #50](https://github.com/medialize/URI.js/issues/50)) | ||
@@ -226,0 +230,0 @@ * adding documentation for various [encode/decode functions](http://medialize.github.com/URI.js/docs.html#encoding-decoding) |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.8.0 | ||
* Version: 1.8.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.8.0 | ||
* Version: 1.8.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.8.0 | ||
* Version: 1.8.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
/*! | ||
* URI.js - Mutating URLs | ||
* | ||
* Version: 1.8.0 | ||
* Version: 1.8.1 | ||
* | ||
@@ -404,7 +404,7 @@ * Author: Rodney Rehm | ||
if (typeof parts.query === "string") { | ||
if (typeof parts.query === "string" && parts.query) { | ||
t += '?' + parts.query; | ||
} | ||
if (typeof parts.fragment === "string") { | ||
if (typeof parts.fragment === "string" && parts.fragment) { | ||
t += '#' + parts.fragment; | ||
@@ -411,0 +411,0 @@ } |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.8.0 | ||
* Version: 1.8.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
117325
341