Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
e.preventDefault();
startMeasure('remove');
component.run('remove', getId(t));
stopMeasure();
} else if (t.matches('.lbl')) {
e.preventDefault();
startMeasure('select');
component.run('select', getId(t));
stopMeasure();
}
});
app.on('//', _ => { })
app.on('#', _ => { })
let component = new Component(store, view, update);
component.start(document.getElementById('main'));
e.preventDefault();
startMeasure('remove');
component.run('remove', getId(t));
stopMeasure();
} else if (t.matches('.lbl')) {
e.preventDefault();
startMeasure('select');
component.run('select', getId(t));
stopMeasure();
}
});
app.on('//', _ => { })
app.on('#', _ => { })
let component = new Component(store, view, update);
component.start(document.getElementById('main'));