refactor: remove lang.ts (#14837)

This commit is contained in:
Miško Hevery
2017-03-02 09:37:01 -08:00
committed by Chuck Jazdzewski
parent 84a65cf788
commit 8343fb7740
139 changed files with 406 additions and 676 deletions

View File

@ -7,7 +7,6 @@
*/
import {CssSelector, SelectorMatcher} from '@angular/compiler/src/selector';
import {Math} from '@angular/facade/lang';
import {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';
import {bindAction, getIntParameter} from '@angular/testing/src/benchmark_util';

View File

@ -49,7 +49,7 @@ export class App {
bindAction('#reset-btn', () => {
this._getScrollDiv().scrollTop = 0;
const existingMarker = this._locateFinishedMarker();
if (isPresent(existingMarker)) {
if (existingMarker != null) {
DOM.removeChild(document.body, existingMarker);
}
});
@ -76,7 +76,7 @@ export class App {
// Puts a marker indicating that the test is finished.
private _scheduleFinishedMarker() {
const existingMarker = this._locateFinishedMarker();
if (isPresent(existingMarker)) {
if (existingMarker != null) {
// Nothing to do, the marker is already there
return;
}