Merge "Remove obsolete setting of lazyRegister"
This commit is contained in:
@@ -22,17 +22,6 @@ import {
|
|||||||
} from '../services/gr-reporting/gr-reporting_impl';
|
} from '../services/gr-reporting/gr-reporting_impl';
|
||||||
import {appContext} from '../services/app-context';
|
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();
|
initAppContext();
|
||||||
initVisibilityReporter(appContext);
|
initVisibilityReporter(appContext);
|
||||||
initPerformanceReporter(appContext);
|
initPerformanceReporter(appContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user