Fix leading plus sign
This commit is contained in:
parent
f9ee5dae3d
commit
2abcaac5fe
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Typertext",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"homepage": "https://github.com/terribleplan/Typertext",
|
||||
"authors": [
|
||||
"Kegan Myers <kegan@keganmyers.com>"
|
||||
|
|
|
@ -69,7 +69,7 @@ module Typertext.Http {
|
|||
var temp:string;
|
||||
|
||||
for (temp in data) {
|
||||
rs += +encodeURIComponent(temp) + "=" + encodeURIComponent(data[temp]) + "&";
|
||||
rs += encodeURIComponent(temp) + "=" + encodeURIComponent(data[temp]) + "&";
|
||||
}
|
||||
|
||||
return rs.slice(0, -1);
|
||||
|
@ -127,7 +127,7 @@ module Typertext.Http {
|
|||
*
|
||||
* @class HttpUrl
|
||||
* @author Kegan Myers <kegan@keganmyers.com>
|
||||
* @version 0.3.0
|
||||
* @version 0.3.1
|
||||
* @constructor
|
||||
*/
|
||||
constructor(domain:string, protocol:HttpProtocol = HttpProtocol.http, path:string = "/", queryString:HttpQueryString = {}, port:number = 0) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"type" : "git",
|
||||
"url" : "https://github.com/terribleplan/Typertext.git"
|
||||
},
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-typescript": "~0.2.7"
|
||||
|
|
Reference in a new issue