[Navigation] Implements NavigationContextFuture

This commit is contained in:
Hedger Wang 2015-07-22 11:50:46 -07:00
parent 280347d66a
commit 8dd1256c25
1 changed files with 2 additions and 2 deletions

View File

@ -67,10 +67,10 @@ class NavigationContext {
}
}
emit(eventType: String, data: any): void {
emit(eventType: String, data: any, didEmitCallback: ?Function): void {
var emitter = this._eventEmitter;
if (emitter) {
emitter.emit(eventType, data);
emitter.emit(eventType, data, didEmitCallback);
}
}