
committed by
Miško Hevery

parent
4415855683
commit
e916836261
@ -1,9 +1,9 @@
|
||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
||||
import {List, ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {Location} from 'angular2/src/router/location';
|
||||
|
||||
export class SpyLocation implements Location {
|
||||
urlChanges: List<string> = [];
|
||||
urlChanges: string[] = [];
|
||||
_path: string = '';
|
||||
_subject: EventEmitter = new EventEmitter();
|
||||
_baseHref: string = '';
|
||||
|
@ -1,5 +1,4 @@
|
||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
||||
import {List} from 'angular2/src/core/facade/collection';
|
||||
import {LocationStrategy} from 'angular2/src/router/location_strategy';
|
||||
|
||||
|
||||
@ -7,7 +6,7 @@ export class MockLocationStrategy extends LocationStrategy {
|
||||
internalBaseHref: string = '/';
|
||||
internalPath: string = '/';
|
||||
internalTitle: string = '';
|
||||
urlChanges: List<string> = [];
|
||||
urlChanges: string[] = [];
|
||||
_subject: EventEmitter = new EventEmitter();
|
||||
constructor() { super(); }
|
||||
|
||||
|
Reference in New Issue
Block a user