Skip to content

Commit

Permalink
making closure compiler happy - closes #93
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Aug 3, 2013
1 parent 82a7225 commit b30ce9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ URI.js is published under the [MIT license](http://www.opensource.org/licenses/m

### `[dev-version]` (master branch) ###

* fixing for-loop to make closure compiler happy - ([Issue #93](https://github.com/medialize/URI.js/issues/93))
* adding [`URI.noConflict()`](http://medialize.github.io/URI.js/docs.html#static-noConflict) - ([Issue #84](https://github.com/medialize/URI.js/issue/84))
* fixing whitespace in code - ([Issue #84](https://github.com/medialize/URI.js/issue/84))
* fixing `URI.readable()` to decode the hash value as well - ([Issue #90](https://github.com/medialize/URI.js/issue/90))
* fixing [`readable()`](http://medialize.github.com/URI.js/docs.html#readable) to decode the hash value as well - ([Issue #90](https://github.com/medialize/URI.js/issue/90))
* prevent `jquery.URI.js from` temporarily using `window.location` as the `href` of an empty attribute of a DOM element - ([Issue #94](https://github.com/medialize/URI.js/issues/94))
* fixing internal `getType()` for IE8 with undefined value - ([Issue #96](https://github.com/medialize/URI.js/issues/96))
* fixing [URI constructor](http://medialize.github.io/URI.js/docs.html#constructor) to accept the following elements - ([Issue #77](https://github.com/medialize/URI.js/issues/77))
Expand Down
4 changes: 2 additions & 2 deletions src/URI.js
Original file line number Diff line number Diff line change
Expand Up @@ -1715,12 +1715,12 @@ p.absoluteTo = function(base) {
return resolved;
}

for (i = 0, p; p = properties[i]; i++) {
for (i = 0; p = properties[i]; i++) {
resolved._parts[p] = base._parts[p];
}

properties = ['query', 'path'];
for (i = 0, p; p = properties[i]; i++) {
for (i = 0; p = properties[i]; i++) {
if (!resolved._parts[p] && base._parts[p]) {
resolved._parts[p] = base._parts[p];
}
Expand Down

0 comments on commit b30ce9a

Please sign in to comment.