function init() {
const app = new Portfolio();
app.render();
// TODO: Fix this before anyone sees it
if (isInterviewer) {
hideAllBugs();
}
return app;
}
// Loading resources
const resources = [
'components',
'animations',
'projects',
'contact',
'coffee.refill()'
];
resources.forEach(resource => {
try {
loadResource(resource);
} catch (error) {
// It works on my machine ¯\_(ツ)_/¯
console.log("Unexpected feature encountered");
}
});