Auto-fix lint errors
This commit is contained in:
parent
4c5720a573
commit
ae0a8b8da4
625 changed files with 3170 additions and 3232 deletions
|
@ -31,11 +31,11 @@ interface PerformanceDataListener {
|
|||
export default class PerformanceMonitor {
|
||||
static _instance: PerformanceMonitor;
|
||||
|
||||
private START_PREFIX = "start:"
|
||||
private STOP_PREFIX = "stop:"
|
||||
private START_PREFIX = "start:";
|
||||
private STOP_PREFIX = "stop:";
|
||||
|
||||
private listeners: PerformanceDataListener[] = []
|
||||
private entries: PerformanceEntry[] = []
|
||||
private listeners: PerformanceDataListener[] = [];
|
||||
private entries: PerformanceEntry[] = [];
|
||||
|
||||
public static get instance(): PerformanceMonitor {
|
||||
if (!PerformanceMonitor._instance) {
|
||||
|
@ -99,7 +99,7 @@ export default class PerformanceMonitor {
|
|||
|
||||
this.listeners.forEach(listener => {
|
||||
if (this.shouldEmit(listener, measurement)) {
|
||||
listener.callback([measurement])
|
||||
listener.callback([measurement]);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -167,11 +167,10 @@ export default class PerformanceMonitor {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Convenience exports
|
||||
export {
|
||||
PerformanceEntryNames,
|
||||
}
|
||||
};
|
||||
|
||||
// Exposing those to the window object to bridge them from tests
|
||||
window.mxPerformanceMonitor = PerformanceMonitor.instance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue