Skip to content

Commit

Permalink
Merge 9734f40 into 9a9baac
Browse files Browse the repository at this point in the history
  • Loading branch information
opsb committed Mar 19, 2016
2 parents 9a9baac + 9734f40 commit 1b66dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/observable/dom/AjaxObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface AjaxRequest {
responseType?: string;
}

const createXHRDefault = (): XMLHttpRequest => {
function createXHRDefault(): XMLHttpRequest {
let xhr = new root.XMLHttpRequest();
if (this.crossDomain) {
if ('withCredentials' in xhr) {
Expand All @@ -36,7 +36,7 @@ const createXHRDefault = (): XMLHttpRequest => {
} else {
return xhr;
}
};
}

export interface AjaxCreationMethod {
<T>(urlOrRequest: string | AjaxRequest): Observable<T>;
Expand Down

0 comments on commit 1b66dbf

Please sign in to comment.