Adds imageLoader function to shippingFunctions.js. It will wait for the image to download into a dummy image before calling window.print(), so that we dont face the race condition between the image dowloading to the dom and window.print() being called in the middle of that process.
Adds
imageLoader
function to shippingFunctions.js. It will wait for the image to download into a dummy image before calling window.print(), so that we dont face the race condition between the image dowloading to the dom and window.print() being called in the middle of that process.