q5xjs
q5xjs copied to clipboard
Fix loadFont() and callback parameters
loadFont()
now loads the font using the FontFace
API. Implemented also the callback argument, the function now accepts a second and third parameters (successCallback
& failureCallback
). This resolves #27
this is great, thanks for sharing!