diff --git a/url.js b/url.js index b4561e5..8dd9bdb 100644 --- a/url.js +++ b/url.js @@ -145,7 +145,7 @@ case 'scheme data': if ('?' == c) { - query = '?'; + this._query = '?'; state = 'query'; } else if ('#' == c) { this._fragment = '#'; @@ -613,4 +613,4 @@ scope.URL = jURL; -})(this); +})(window);