Add 0.7.1 build

master 0.7.1
Kegan Myers 8 years ago
parent 26548258b3
commit b84f10b88f
  1. 2
      build/typertext.d.ts
  2. 4
      build/typertext.js
  3. 2
      build/typertext.js.map
  4. 2
      build/typertext.min.js
  5. 2
      build/typertext.min.js.map

@ -112,7 +112,7 @@ declare module Typertext.Http {
public GetPort(): number;
public GetDomain(): string;
public GetProtocol(): HttpProtocol;
public CrossOriginCheck(url: HttpUrl): boolean;
public SameOriginCheck(url: HttpUrl): boolean;
}
}
declare module Typertext.Json {

@ -281,7 +281,7 @@ var Typertext;
return this.protocol;
};
HttpUrl.prototype.CrossOriginCheck = function (url) {
HttpUrl.prototype.SameOriginCheck = function (url) {
return (this.domain === url.GetDomain() && this.port === url.GetPort() && this.protocol === url.GetProtocol());
};
return HttpUrl;
@ -402,7 +402,7 @@ var Typertext;
var ieLte9 = (ieTestDiv.getElementsByTagName("i").length === 1);
var origin = HttpUrl.FromUrl(window.location.href);
if (!origin.CrossOriginCheck(origin) || !ieLte9) {
if (origin.SameOriginCheck(origin) || !ieLte9) {
return Typertext.Transport.XHR;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long