refactor(pipes): rename PipeRegistry to Pipes
BREAKING CHANGE: This change renames all instances of PipeRegistry to Pipes. As part of this change, the former "defaultPipes" export is now a Pipes instance, instead of a map. The map that was previously called "defaultPipes" no longer exists, but may be accessed via defaultPipes.config.
This commit is contained in:
@ -7,8 +7,8 @@ import {
|
||||
Lexer,
|
||||
ChangeDetection,
|
||||
DynamicChangeDetection,
|
||||
PipeRegistry,
|
||||
defaultPipeRegistry
|
||||
Pipes,
|
||||
defaultPipes
|
||||
} from 'angular2/change_detection';
|
||||
import {ExceptionHandler} from 'angular2/src/core/exception_handler';
|
||||
import {ViewLoader} from 'angular2/src/render/dom/compiler/view_loader';
|
||||
@ -101,7 +101,7 @@ function _getAppBindings() {
|
||||
Compiler,
|
||||
CompilerCache,
|
||||
bind(ViewResolver).toClass(MockViewResolver),
|
||||
bind(PipeRegistry).toValue(defaultPipeRegistry),
|
||||
bind(Pipes).toValue(defaultPipes),
|
||||
bind(ChangeDetection).toClass(DynamicChangeDetection),
|
||||
ViewLoader,
|
||||
DynamicComponentLoader,
|
||||
|
Reference in New Issue
Block a user