refactor(test/linker): remove unused directive in tests
This commit is contained in:
parent
a090843b84
commit
f664a9c4d5
|
@ -2034,16 +2034,6 @@ class DirectiveUpdatingHostProperties {
|
||||||
constructor() { this.id = "one"; }
|
constructor() { this.id = "one"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@Directive({selector: '[update-host-actions]', host: {'@setAttr': 'setAttribute'}})
|
|
||||||
@Injectable()
|
|
||||||
class DirectiveUpdatingHostActions {
|
|
||||||
setAttr: EventEmitter<any>;
|
|
||||||
|
|
||||||
constructor() { this.setAttr = new EventEmitter(); }
|
|
||||||
|
|
||||||
triggerSetAttr(attrValue) { ObservableWrapper.callEmit(this.setAttr, ["key", attrValue]); }
|
|
||||||
}
|
|
||||||
|
|
||||||
@Directive({selector: '[listener]', host: {'(event)': 'onEvent($event)'}})
|
@Directive({selector: '[listener]', host: {'(event)': 'onEvent($event)'}})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
class DirectiveListeningEvent {
|
class DirectiveListeningEvent {
|
||||||
|
|
Loading…
Reference in New Issue