Skip to content

Commit

Permalink
Merge pull request #60 from fidian/gh-pages
Browse files Browse the repository at this point in the history
UglifyJS compressing causes Range Error
  • Loading branch information
rodneyrehm committed Jan 8, 2013
2 parents 4c4b830 + 2f72c33 commit cc78e29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/URI.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,12 +616,9 @@ p.clone = function() {
return new URI(this);
};

p.toString = function() {
p.valueOf = p.toString = function() {
return this.build(false)._string;
};
p.valueOf = function() {
return this.toString();
};

// generate simple accessors
_parts = {protocol: 'protocol', username: 'username', password: 'password', hostname: 'hostname', port: 'port'};
Expand Down

0 comments on commit cc78e29

Please sign in to comment.