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:
@ -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 ''; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user