Skip to content

Commit

Permalink
refactor(ajax): privatize properties on AjaxSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Jan 13, 2016
1 parent 4a6a579 commit 887d51c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/observable/dom/ajax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ export class AjaxObservable<T> extends Observable<T> {
}

export class AjaxSubscriber<T> extends Subscriber<Event> {
xhr: XMLHttpRequest;
resultSelector: (response: AjaxResponse) => T;
done: boolean = false;
private xhr: XMLHttpRequest;
private resultSelector: (response: AjaxResponse) => T;
private done: boolean = false;

constructor(destination: Subscriber<T>, public request: AjaxRequest) {
super(destination);
Expand Down

0 comments on commit 887d51c

Please sign in to comment.