Merge "Remove obsolete setting of lazyRegister"

This commit is contained in:
Ben Rohlfs
2020-12-17 15:48:17 +00:00
committed by Gerrit Code Review

View File

@@ -22,17 +22,6 @@ import {
} from '../services/gr-reporting/gr-reporting_impl';
import {appContext} from '../services/app-context';
interface UninitializedPolymer {
lazyRegister: boolean;
}
if (!window.Polymer) {
// Without as... it violates internal google rules.
((window.Polymer as unknown) as UninitializedPolymer) = {
lazyRegister: true,
};
}
initAppContext();
initVisibilityReporter(appContext);
initPerformanceReporter(appContext);