Closed danimalweb closed 3 years ago
Can't remember that last time we needed common.js and something like single-post.js as we just use querySelector for all the things.
Reduce the JS code to only use what we need and not the 3 files we have right now.
Want to keep the init(), finalize() and loaded() hooks.
Maybe a custom Promise around the init() function, so finalize() is only run after init().
Can't remember that last time we needed common.js and something like single-post.js as we just use querySelector for all the things.
Reduce the JS code to only use what we need and not the 3 files we have right now.
Want to keep the init(), finalize() and loaded() hooks.