design: added record interface
This commit is contained in:
3
modules/core/src/angular.js
vendored
3
modules/core/src/angular.js
vendored
@ -5,6 +5,9 @@ export * from './annotations/directive';
|
||||
export * from './annotations/component';
|
||||
export * from './annotations/template_config';
|
||||
|
||||
export * from 'change_detection/change_detection';
|
||||
export * from 'change_detection/record';
|
||||
|
||||
export * from './compiler/compiler';
|
||||
export * from './compiler/template_loader';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {Directive} from './directive';
|
||||
|
||||
export class Component extends Directive {
|
||||
@CONST constructor({
|
||||
constructor({
|
||||
selector,
|
||||
template,
|
||||
elementServices,
|
||||
|
@ -3,7 +3,7 @@ import {ElementServicesFunction} from './facade';
|
||||
|
||||
@ABSTRACT
|
||||
export class Directive {
|
||||
@CONST constructor({
|
||||
constructor({
|
||||
selector,
|
||||
lightDomServices,
|
||||
implementsTypes
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {Type, List} from 'facade/lang';
|
||||
|
||||
export class TemplateConfig {
|
||||
@CONST constructor({
|
||||
constructor({
|
||||
url,
|
||||
directives,
|
||||
formatters,
|
||||
|
@ -6,5 +6,5 @@ export class ProtoView {
|
||||
@FIELD('final _module:Module')
|
||||
@FIELD('final _protoElementInjectors:List<ProtoElementInjector>')
|
||||
@FIELD('final _protoWatchGroup:ProtoWatchGroup')
|
||||
@CONST constructor() { }
|
||||
constructor() { }
|
||||
}
|
Reference in New Issue
Block a user