Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { Init } from 'domponent/dist/domponent.development'
import Counter from "./Counter";
import CurrentTime from "./CurrentTime";
import DisplayAnything from "./DisplayAnything";
import Name from "./Name";
import domInsert from "./domInsert";
console.time('appCreation');
const App = new Init({
selector: document.getElementById("root"),
components: {
Counter,
CurrentTime,
DisplayAnything,
Name
},
appCreated: () => console.log("app created")
});
console.timeEnd('appCreation');
// const mills = document.getElementById('mills');
// const up = document.getElementById('up');
// const down = document.getElementById('down');
// const total = document.getElementById('total');