Browse Source

Update build

master 0.6.0-alpha2
Kegan Myers 8 years ago
parent
commit
54e250cabe
  1. 2
      build/typertext.d.ts
  2. 8
      build/typertext.js
  3. 2
      build/typertext.js.map
  4. 2
      build/typertext.min.js
  5. 2
      build/typertext.min.js.map

2
build/typertext.d.ts

@ -146,7 +146,7 @@ declare module Typertext.Transport {
}
declare module Typertext.Transport {
class TransportChooser {
static GetTransport(method: Http.HttpMethod, request: Http.HttpUrl, postData: Http.HttpPostData, callback: Http.HttpResponseHandler): GenericTransport;
static Transport(method: Http.HttpMethod, request: Http.HttpUrl, postData: Http.HttpPostData, callback: Http.HttpResponseHandler): GenericTransport;
}
}
declare module Typertext.Transport {

8
build/typertext.js

@ -117,7 +117,7 @@ var Typertext;
if (typeof postData === "undefined") { postData = {}; }
if (typeof callback === "undefined") { callback = function (c) {
}; }
Typertext.Transport.TransportChooser.GetTransport(method, request, postData, callback);
Typertext.Transport.TransportChooser.Transport(method, request, postData, callback);
};
return HttpRequest;
})();
@ -369,7 +369,7 @@ var Typertext;
var TransportChooser = (function () {
function TransportChooser() {
}
TransportChooser.GetTransport = function (method, request, postData, callback) {
TransportChooser.Transport = function (method, request, postData, callback) {
var ieLte9 = false;
var isXdomain = false;
var isXprotocol = false;
@ -429,6 +429,10 @@ var Typertext;
callback(new HttpResponse(0 /* success */, getHeader, 200, xdr.responseText));
};
xdr.onprogress = function () {
return null;
};
xdr.open(HttpMethod[method], request.ToString());
if (method == 0 /* GET */) {

2
build/typertext.js.map
File diff suppressed because it is too large
View File

2
build/typertext.min.js
File diff suppressed because it is too large
View File

2
build/typertext.min.js.map
File diff suppressed because it is too large
View File