refactor: remove lang.ts (#14837)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
84a65cf788
commit
8343fb7740
@ -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';
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user