Adding an event handler for the orientation changing on a mobile device so that it performs the same action as when the window is resized. This will allow you to resize the canvas and image nicely when the mobile device rotates
Merge pull request #75 from ksornberger/add-orientationchanged-resize-event

Adding an event handler for the orientation changing on a mobile device ...