Skip to content

Commit

Permalink
Merge pull request mozilla#444 from k88hudson/440
Browse files Browse the repository at this point in the history
Use url.href instead of url.toString()
  • Loading branch information
alicoding committed Oct 21, 2014
2 parents 3a30b32 + 25220cc commit bf1cfd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client-url.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function parse(url) { return new global.URL(url); }
function format(urlObj) { return urlObj.toString(); }
function format(urlObj) { return urlObj.href; }

module.exports = {
parse: parse,
Expand Down

0 comments on commit bf1cfd3

Please sign in to comment.