Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
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.
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.
XF.Cropbox
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.
avatar-compiled.js
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences