DragonByte Tech
Well-known member
At the moment, if we want to use the
Nothing says you couldn't create your own
XF.Cropbox class in our own projects, we have to include the entirety of avatar.js. There is nothing in the XF.Cropbox class that necessitates it being bundled with avatar.js.Nothing says you couldn't create your own
avatar-compiled.js that bundles XF.Cropbox if you want to maintain the single JS file inclusion as well.
Upvote
0