docs(web_workers): Correct typo
Typo in code block on line 229 : "angukar2" -> "angular2" Closes #4286
This commit is contained in:

committed by
Misko Hevery

parent
35328015b8
commit
97c60ed3f3
@ -226,7 +226,7 @@ Once the channel has been initialized either side can use the `from` and `to` me
|
|||||||
and receive messages. Both methods return EventEmitter. Expanding on the example from earlier:
|
and receive messages. Both methods return EventEmitter. Expanding on the example from earlier:
|
||||||
```TypeScript
|
```TypeScript
|
||||||
// index.ts, which is running on the UI.
|
// index.ts, which is running on the UI.
|
||||||
import {bootstrap} from 'angukar2/web_worker/ui';
|
import {bootstrap} from 'angular2/web_worker/ui';
|
||||||
var instance = bootstrap("loader.js");
|
var instance = bootstrap("loader.js");
|
||||||
var bus = instance.bus;
|
var bus = instance.bus;
|
||||||
bus.initChannel("My Custom Channel");
|
bus.initChannel("My Custom Channel");
|
||||||
|
Reference in New Issue
Block a user