refactor: remove global from facade/lang (#14837)

This commit is contained in:
Miško Hevery
2017-03-01 15:18:10 -08:00
committed by Chuck Jazdzewski
parent b0e0839075
commit 84a65cf788
26 changed files with 88 additions and 123 deletions

View File

@ -8,15 +8,14 @@
import {Inject} from '@angular/core';
import {reflector} from '@angular/core/src/reflection/reflection';
import {global} from '@angular/core/src/util';
import {Class, makeDecorator, makePropDecorator} from '@angular/core/src/util/decorators';
import {global} from '../../src/facade/lang';
class DecoratedParent {}
class DecoratedChild extends DecoratedParent {}
export function main() {
const Reflect = global.Reflect;
const Reflect = global['Reflect'];
const TerminalDecorator = makeDecorator('TerminalDecorator', {terminal: true});
const TestDecorator = makeDecorator(
@ -161,4 +160,4 @@ export function main() {
});
});
});
}
}