Fix leading plus sign

This commit is contained in:
Kegan Myers 2014-02-28 17:44:24 -06:00
parent f9ee5dae3d
commit 2abcaac5fe
3 changed files with 4 additions and 4 deletions

View file

@ -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>"

View file

@ -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) {

View file

@ -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"