@ -16,7 +16,7 @@ import {ComponentUrlMapper} from 'angular2/src/core/compiler/component_url_mappe
|
||||
import {StyleInliner} from 'angular2/src/core/compiler/style_inliner';
|
||||
import {CssProcessor} from 'angular2/src/core/compiler/css_processor';
|
||||
|
||||
import {reflector} from 'angular2/src/reflection/reflection';
|
||||
import {Reflector, reflector} from 'angular2/src/reflection/reflection';
|
||||
import {DOM} from 'angular2/src/dom/dom_adapter';
|
||||
import {isPresent} from 'angular2/src/facade/lang';
|
||||
import {window, document, gc} from 'angular2/src/facade/browser';
|
||||
@ -177,6 +177,12 @@ function setupReflector() {
|
||||
"annotations": []
|
||||
});
|
||||
|
||||
reflector.registerType(Reflector, {
|
||||
"factory": () => reflector,
|
||||
"parameters": [],
|
||||
"annotations": []
|
||||
});
|
||||
|
||||
reflector.registerGetters({
|
||||
'value': (a) => a.value,
|
||||
'left': (a) => a.left,
|
||||
|
Reference in New Issue
Block a user