refactor: remove global
from facade/lang (#14837)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
b0e0839075
commit
84a65cf788
@ -11,7 +11,6 @@ import {Inject, Injectable, Optional} from '@angular/core';
|
||||
import {DOCUMENT, ɵgetDOM as getDOM} from '@angular/platform-browser';
|
||||
import {Subject} from 'rxjs/Subject';
|
||||
import * as url from 'url';
|
||||
import {scheduleMicroTask} from './facade/lang';
|
||||
import {INITIAL_CONFIG, PlatformConfig} from './tokens';
|
||||
|
||||
|
||||
@ -88,3 +87,7 @@ export class ServerPlatformLocation implements PlatformLocation {
|
||||
|
||||
back(): void { throw new Error('Not implemented'); }
|
||||
}
|
||||
|
||||
export function scheduleMicroTask(fn: Function) {
|
||||
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
|
||||
}
|
||||
|
@ -8,8 +8,9 @@
|
||||
|
||||
const parse5 = require('parse5');
|
||||
|
||||
import {ɵglobal as global} from '@angular/core';
|
||||
import {ɵDomAdapter as DomAdapter, ɵsetRootDomAdapter as setRootDomAdapter} from '@angular/platform-browser';
|
||||
import {isPresent, isBlank, global, setValueOnPath} from '../src/facade/lang';
|
||||
import {isPresent, isBlank, setValueOnPath} from '../src/facade/lang';
|
||||
import {SelectorMatcher, CssSelector} from '@angular/compiler';
|
||||
|
||||
let treeAdapter: any;
|
||||
|
Reference in New Issue
Block a user