@ -1,9 +1,6 @@
|
||||
import {platform, Provider} from 'angular2/core';
|
||||
import {
|
||||
WORKER_RENDER_APPLICATION,
|
||||
WORKER_RENDER_PLATFORM,
|
||||
WORKER_SCRIPT
|
||||
} from 'angular2/platform/worker_render';
|
||||
import {WORKER_RENDER_APPLICATION, WORKER_RENDER_PLATFORM, WORKER_SCRIPT} from 'angular2/platform/worker_render';
|
||||
|
||||
platform([WORKER_RENDER_PLATFORM])
|
||||
.application([WORKER_RENDER_APPLICATION, new Provider(WORKER_SCRIPT, {useValue: "loader.js"})]);
|
||||
platform([WORKER_RENDER_PLATFORM]).application([
|
||||
WORKER_RENDER_APPLICATION, new Provider(WORKER_SCRIPT, {useValue: 'loader.js'})
|
||||
]);
|
Reference in New Issue
Block a user