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