fix(WebWorker): Return boolean from dispatchRenderEvent

Update web_worker `dispatchRenderEvent` to return a boolean, which
[view.ts](https://github.com/angular/angular/blob/master/modules/angular2/src/core/render/dom/view/view.ts#L85) expects.
This commit is contained in:
Tim Blasi
2015-08-26 13:25:00 -07:00
parent 5863f50316
commit 457eb5d69c
4 changed files with 10 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class LoggingEventDispatcher implements RenderEventDispatcher {
constructor(log: List<List<any>>) { this.log = log; }
dispatchRenderEvent(elementIndex: number, eventName: string, locals: Map<string, any>) {
dispatchRenderEvent(elementIndex: number, eventName: string, locals: Map<string, any>): boolean {
this.log.push([elementIndex, eventName, locals]);
return true;
}