Adding the XF core JS to the templating system would essentially allow us to modify the JS in any possible way.
Reasons:
Reasons:
- Right now we have to override core functionality if we want to make changes to something deep in between an instruction. Template modifications work everywhere and are non-destructive (if used properly).
- It could lower the amount of requests from 3rd party addons by bundling changes to the core into <xf:corejs />.
- It could lower the amount of requests from 3rd party addons by (semi-)automatically bundling 3rd pary scripts into one like
$cssUrls
does. - Easier to export.
Upvote
0