
Export files are now directly under the module folder, e.g. `core/core.js`. With this, an import like `core/core` won’t need a path mapping (e.g. via `System.paths`) any more. This adds the `src` folder to all other import statements as well.
23 lines
684 B
JavaScript
23 lines
684 B
JavaScript
import {Type} from 'facade/src/lang';
|
|
import {Directive} from '../annotations/annotations'
|
|
import {List} from 'facade/src/collection'
|
|
import {ShadowDomStrategy} from './shadow_dom';
|
|
|
|
/**
|
|
* Combination of a type with the Directive annotation
|
|
*/
|
|
export class DirectiveMetadata {
|
|
type:Type;
|
|
annotation:Directive;
|
|
shadowDomStrategy:ShadowDomStrategy;
|
|
componentDirectives:List<Type>;
|
|
|
|
constructor(type:Type, annotation:Directive, shadowDomStrategy:ShadowDomStrategy,
|
|
componentDirectives:List<Type>) {
|
|
this.annotation = annotation;
|
|
this.type = type;
|
|
this.shadowDomStrategy = shadowDomStrategy;
|
|
this.componentDirectives = componentDirectives;
|
|
}
|
|
}
|