parent
d24df799d3
commit
347e71af7d
|
@ -64,8 +64,6 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: "MODE=saucelabs_optional"
|
- env: "MODE=saucelabs_optional"
|
||||||
- env: "MODE=browserstack_optional"
|
- env: "MODE=browserstack_optional"
|
||||||
# Tracked in https://github.com/angular/angular/issues/7050
|
|
||||||
- env: "MODE=typescript_next"
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
firefox: "38.0"
|
firefox: "38.0"
|
||||||
|
|
|
@ -35,7 +35,7 @@ export class MockConnection implements Connection {
|
||||||
response: ReplaySubject<Response>;
|
response: ReplaySubject<Response>;
|
||||||
|
|
||||||
constructor(req: Request) {
|
constructor(req: Request) {
|
||||||
this.response = take.call(new ReplaySubject(1), 1);
|
this.response = <any>take.call(new ReplaySubject(1), 1);
|
||||||
this.readyState = ReadyState.Open;
|
this.readyState = ReadyState.Open;
|
||||||
this.request = req;
|
this.request = req;
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,7 @@ export class Parse5DomAdapter extends DomAdapter {
|
||||||
var evt = <Event>{
|
var evt = <Event>{
|
||||||
type: eventType,
|
type: eventType,
|
||||||
defaultPrevented: false,
|
defaultPrevented: false,
|
||||||
preventDefault: () => { evt.defaultPrevented = true; }
|
preventDefault: () => { (<any>evt).defaultPrevented = true; }
|
||||||
};
|
};
|
||||||
return evt;
|
return evt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue