Implemented Separate XF.Cropbox into its own JS file

DragonByte Tech

Well-known member
At the moment, if we want to use the 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
This suggestion has been implemented. Votes are no longer accepted.
Back
Top Bottom