parent
0a940211d5
commit
91f71d2c3f
|
@ -30,7 +30,7 @@ export {
|
|||
DebugContext,
|
||||
ChangeDetectorGenConfig
|
||||
} from './interfaces';
|
||||
export {ChangeDetectionStrategy, CHANGE_DECTION_STRATEGY_VALUES} from './constants';
|
||||
export {ChangeDetectionStrategy, CHANGE_DETECTION_STRATEGY_VALUES} from './constants';
|
||||
export {DynamicProtoChangeDetector} from './proto_change_detector';
|
||||
export {JitProtoChangeDetector} from './jit_proto_change_detector';
|
||||
export {BindingRecord, BindingTarget} from './binding_record';
|
||||
|
|
|
@ -41,7 +41,7 @@ export enum ChangeDetectionStrategy {
|
|||
OnPushObserve
|
||||
}
|
||||
|
||||
export var CHANGE_DECTION_STRATEGY_VALUES = [
|
||||
export var CHANGE_DETECTION_STRATEGY_VALUES = [
|
||||
ChangeDetectionStrategy.CheckOnce,
|
||||
ChangeDetectionStrategy.Checked,
|
||||
ChangeDetectionStrategy.CheckAlways,
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
CHANGE_DECTION_STRATEGY_VALUES
|
||||
CHANGE_DETECTION_STRATEGY_VALUES
|
||||
} from 'angular2/src/core/change_detection/change_detection';
|
||||
import {ViewEncapsulation, VIEW_ENCAPSULATION_VALUES} from 'angular2/src/core/metadata/view';
|
||||
import {CssSelector} from 'angular2/src/core/compiler/selector';
|
||||
|
@ -215,7 +215,7 @@ export class CompileDirectiveMetadata {
|
|||
exportAs: data['exportAs'],
|
||||
type: isPresent(data['type']) ? CompileTypeMetadata.fromJson(data['type']) : data['type'],
|
||||
changeDetection: isPresent(data['changeDetection']) ?
|
||||
CHANGE_DECTION_STRATEGY_VALUES[data['changeDetection']] :
|
||||
CHANGE_DETECTION_STRATEGY_VALUES[data['changeDetection']] :
|
||||
data['changeDetection'],
|
||||
inputs: data['inputs'],
|
||||
outputs: data['outputs'],
|
||||
|
|
Loading…
Reference in New Issue