diff --git a/modules/core/src/compiler/compiler.es6d b/modules/core/src/compiler/compiler.es6d new file mode 100644 index 0000000000..3ebc08fbe1 --- /dev/null +++ b/modules/core/src/compiler/compiler.es6d @@ -0,0 +1,16 @@ +import {Future} from '../facade'; +import {ProtoView} from './proto_view'; + +export class Compiler { + /** + * # Why future? + * - compilation will load templates. Instantiating views before templates are loaded will + * complicate the Directive code. BENEFIT: view instantiation become synchrnous. + * # Why result that is independent of injector? + * - don't know about injector in deserialization + * - compile does not need the injector, only the ViewFactory does + */ + @of(ProtoView) Future compile(TemplateElement element) { + } + +} \ No newline at end of file diff --git a/modules/core/src/compiler/proto_view.es6d b/modules/core/src/compiler/proto_view.es6d new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/core/src/facade.dart b/modules/core/src/facade.dart new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/core/src/facade.es6 b/modules/core/src/facade.es6 new file mode 100644 index 0000000000..e69de29bb2