feat(web-workers) Add WebWorker Renderer

Allows angular apps to be rendered from the webworker!
Closes #3052, #3053, and #3097
This commit is contained in:
Jason Teplitz
2015-07-10 16:09:18 -07:00
parent 21b988f554
commit 771c0170d9
45 changed files with 3864 additions and 476 deletions

View File

@ -41,7 +41,7 @@ export function main() {
new ViewLoader(null, null, null));
var compiler = new Compiler(reader, cache, viewResolver, new ComponentUrlMapper(), urlResolver,
renderCompiler, new ProtoViewFactory(new DynamicChangeDetection()),
new FakeAppRootUrl());
new AppRootUrl(""));
function measureWrapper(func, desc) {
return function() {
@ -161,7 +161,3 @@ class BenchmarkComponentNoBindings {
})
class BenchmarkComponentWithBindings {
}
class FakeAppRootUrl extends AppRootUrl {
get value() { return ''; }
}