@ -2,7 +2,7 @@ import {ChangeDetector} from './interfaces';
|
||||
import {CHECK_ONCE, DETACHED, CHECK_ALWAYS} from './constants';
|
||||
|
||||
/**
|
||||
* @publicModule angular2/angular2
|
||||
* @publicModule angular2/change_detection
|
||||
*/
|
||||
export class BindingPropagationConfig {
|
||||
_cd:ChangeDetector;
|
||||
|
@ -26,6 +26,9 @@ export class IterableChangesFactory {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class IterableChanges extends Pipe {
|
||||
_collection;
|
||||
_length:int;
|
||||
@ -501,6 +504,9 @@ export class IterableChanges extends Pipe {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class CollectionChangeRecord {
|
||||
currentIndex:int;
|
||||
previousIndex:int;
|
||||
|
@ -3,6 +3,9 @@ import {stringify, looseIdentical, isJsObject} from 'angular2/src/facade/lang';
|
||||
|
||||
import {NO_CHANGE, Pipe} from './pipe';
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class KeyValueChangesFactory {
|
||||
supports(obj):boolean {
|
||||
return KeyValueChanges.supportsObj(obj);
|
||||
@ -13,6 +16,9 @@ export class KeyValueChangesFactory {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class KeyValueChanges extends Pipe {
|
||||
_records:Map;
|
||||
|
||||
@ -349,6 +355,9 @@ export class KeyValueChanges extends Pipe {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class KVChangeRecord {
|
||||
key;
|
||||
previousValue;
|
||||
|
@ -1,6 +1,9 @@
|
||||
import {isBlank} from 'angular2/src/facade/lang';
|
||||
import {Pipe, NO_CHANGE} from './pipe';
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class NullPipeFactory {
|
||||
supports(obj):boolean {
|
||||
return NullPipe.supportsObj(obj);
|
||||
@ -11,6 +14,9 @@ export class NullPipeFactory {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @publicModule angular2/pipes
|
||||
*/
|
||||
export class NullPipe extends Pipe {
|
||||
called:boolean;
|
||||
constructor() {
|
||||
|
@ -1,5 +1,8 @@
|
||||
export var NO_CHANGE = new Object();
|
||||
|
||||
/**
|
||||
* @publicModule angular2/angular2
|
||||
*/
|
||||
export class Pipe {
|
||||
supports(obj):boolean {return false;}
|
||||
onDestroy() {}
|
||||
|
Reference in New Issue
Block a user