design: added record interface

This commit is contained in:
Misko Hevery
2014-09-25 16:53:32 -07:00
parent 97f6ceb27b
commit b42111a608
10 changed files with 142 additions and 20671 deletions

View File

@ -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';

View File

@ -1,7 +1,7 @@
import {Directive} from './directive';
export class Component extends Directive {
@CONST constructor({
constructor({
selector,
template,
elementServices,

View File

@ -3,7 +3,7 @@ import {ElementServicesFunction} from './facade';
@ABSTRACT
export class Directive {
@CONST constructor({
constructor({
selector,
lightDomServices,
implementsTypes

View File

@ -1,7 +1,7 @@
import {Type, List} from 'facade/lang';
export class TemplateConfig {
@CONST constructor({
constructor({
url,
directives,
formatters,

View File

@ -6,5 +6,5 @@ export class ProtoView {
@FIELD('final _module:Module')
@FIELD('final _protoElementInjectors:List<ProtoElementInjector>')
@FIELD('final _protoWatchGroup:ProtoWatchGroup')
@CONST constructor() { }
constructor() { }
}