Closed wturyn closed 10 years ago
Amazing work. Thank you. Yes, long term I plan to move to a proper framework. I've heard good things about Angular.
I have an angular branch that might be a good start. (I use Angular a lot at work and got a bit excited)
opened #46 for further discussion
Hi Joshua, this is my proposal for basic clean up of front-end javascript. I've moved almost all inline code to module
js/ElectronIDE.js
. I've also seperated definitions from initialisation calls (moved toinit
method) and cleaned up formatting.$(document).ready
now calls onlyElectronIDE.init()
.IMHO this is more readable now, but with more features it will get messy again, so more modularisation may be required. Have You considered using some proper SPA framework? AngularJS maybe?