Removed arrow functions as they mess with scope (this. is undefined) (#3067)
Removed arrow functions as they mess with scope (this. is undefined) (#3067)

* ensure canvas is non po2 when created as this currently automatically sets it to repeat wrap mode. Not something we want as this texture resizes often and not likely need to be wrapped

* Revert "ensure canvas is non po2 when created as this currently automatically sets it to repeat wrap mode. Not something we want as this texture resizes often and not likely need to be wrapped"

This reverts commit 7433680b844d51c8dc2ac3ba4b355fefe83aa1ad.

* removed arrow functions as they mess with scope (this. is undefined)

* ran aslant fix

* aslint fixes

* back you go quoties!

ceco-fmedia/pixi.js,Makio64/pixi.js,sfinktah/pixi.js,pixijs/pixi.js,ceco-fmedia/pixi.js,curtiszimmerman/pixi.js,drkibitz/pixi.js,Cristy94/pixi.js,jpweeks/pixi.js,englercj/pixi.js,jojuntune/pixi.js,out-of-band/pixi.js,out-of-band/pixi.js,bma73/pixi.js,jojuntune/pixi.js,lucap86/pixi.js,curtiszimmerman/pixi.js,themoonrat/pixi.js,GoodBoyDigital/pixi.js,staff0rd/pixi.js,finscn/pixi.js,pixijs/pixi.js,twhitbeck/pixi.js,bma73/pixi.js,staff0rd/pixi.js,sfinktah/pixi.js,finscn/pixi.js,drkibitz/pixi.js,jpweeks/pixi.js,themoonrat/pixi.js,lucap86/pixi.js,Makio64/pixi.js,englercj/pixi.js,Cristy94/pixi.js