chore(facade): remove most facade/async functions
This commit is contained in:

committed by
Alex Rickabaugh

parent
6baf3baedd
commit
99989f5d3f
@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
||||
import {ObservableWrapper} from '@angular/core/src/facade/async';
|
||||
|
||||
@Component({selector: 'zippy', templateUrl: 'app/zippy.html'})
|
||||
export class Zippy {
|
||||
@ -19,9 +18,9 @@ export class Zippy {
|
||||
toggle() {
|
||||
this.visible = !this.visible;
|
||||
if (this.visible) {
|
||||
ObservableWrapper.callEmit(this.open, null);
|
||||
this.open.emit(null);
|
||||
} else {
|
||||
ObservableWrapper.callEmit(this.close, null);
|
||||
this.close.emit(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user