Browse Source

Add 0.7.1 build

master 0.7.1
Kegan Myers 8 years ago
parent
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

2
build/typertext.d.ts

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

4
build/typertext.js

@ -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;
}

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