fix(WebWorker): Fix bug causing multi browser demo to crash

Closes #4839
This commit is contained in:
Jason Teplitz 2015-10-20 21:31:26 +01:00
parent e37799a2a5
commit eba70736f1
1 changed files with 2 additions and 0 deletions

View File

@ -6,8 +6,10 @@ import "package:angular2/src/web_workers/worker/application_common.dart"
import 'dart:io';
import "package:angular2/src/core/reflection/reflection_capabilities.dart";
import "package:angular2/src/core/reflection/reflection.dart";
import "package:angular2/src/core/dom/html_adapter.dart";
void main() {
Html5LibDomAdapter.makeCurrent();
reflector.reflectionCapabilities = new ReflectionCapabilities();
HttpServer.bind('127.0.0.1', 1337).then((HttpServer server) {
var bus = new MultiClientServerMessageBus.fromHttpServer(server);