Include JavaScript that depends on other JavaScript being included

  • Thread starter Thread starter Kirby
  • Start date Start date

Kirby

Guest
Member
Sometimes I must include additional JS files that depend on other (stock XF) JS files being included, for example I would like to include js/vendor/product/message.js after xf/message.js but only if message.js is included.

So far I'me doing this by looping through getIncludedJs() but it feels complicated as I have to check several possibilities (minimized vs. not mininized, production / rollup vs. dev).

Does anybody know a more elegant / efficient way to accomplish...

Read more
Include JavaScript that depends on other JavaScript being included

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top