cleanup(di): renamed viewInjector and hostInjector
BREAKING CHANGE Replace viewInjector with viewBindings Replace hostInjector with bindings
This commit is contained in:
@ -19,7 +19,7 @@ export class Pipes {
|
||||
* 'json': [jsonPipeFactory]
|
||||
* }
|
||||
* @Component({
|
||||
* viewInjector: [
|
||||
* viewBindings: [
|
||||
* bind(Pipes).toValue(new Pipes(pipesConfig))
|
||||
* ]
|
||||
* })
|
||||
@ -61,7 +61,7 @@ export class Pipes {
|
||||
*
|
||||
* ```
|
||||
* @Component({
|
||||
* viewInjector: [
|
||||
* viewBindings: [
|
||||
* Pipes.extend({
|
||||
* async: [newAsyncPipe]
|
||||
* })
|
||||
|
Reference in New Issue
Block a user