feat: add keyValDiff to default pipes

This commit is contained in:
Pawel Kozlowski 2015-02-24 17:39:44 +01:00 committed by vsavkin
parent 4a5d53c549
commit 85abfa943d
1 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,7 @@ import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector}
from './src/change_detection/proto_change_detector';
import {PipeRegistry} from './src/change_detection/pipes/pipe_registry';
import {ArrayChangesFactory} from './src/change_detection/pipes/array_changes';
import {KeyValueChangesFactory} from './src/change_detection/pipes/keyvalue_changes';
import {NullPipeFactory} from './src/change_detection/pipes/null_pipe';
export class ChangeDetection {
@ -32,6 +33,10 @@ export var defaultPipes = {
"iterableDiff" : [
new ArrayChangesFactory(),
new NullPipeFactory()
],
"keyValDiff" : [
new KeyValueChangesFactory(),
new NullPipeFactory()
]
};