We should use a proper module system (require.js etc.). The current system works reasonably well but it's over-complicated and not in-line with most web projects. The tricky part will be making the module based system as flexible as the current system (currently, you can easily inject code just about anywhere on a platform-by-platform basis).
We should use a proper module system (require.js etc.). The current system works reasonably well but it's over-complicated and not in-line with most web projects. The tricky part will be making the module based system as flexible as the current system (currently, you can easily inject code just about anywhere on a platform-by-platform basis).