Quick patch to fix mid-update image loaded callbacks
Fixes issue #464 by adding mouseout handler to document and calling mouseUp handler
Fixed notation for travis build.
Updated implementation to better pass tests, still not 100% though.
Fixed comment.
Fixed bounds of test.
Added support for pointer API so this now works in IE11.
Add a new test file to hold the viewport tests, and a few new tests to it.
Add viewport.js to test.html so tests get run. Use built-in Point functions. Add a helper function to get a random number.
Use propEqual to verify Point values, add a stub test for imageToWindowCoordinates
add test for windowToImageCoordinates
Merge remote-tracking branch 'origin/master' into viewport-tests
imageToViewerElementCoordinates and imageToWindowCoordinates
viewerElementToImageCoordinates
Merge remote-tracking branch 'origin/master' into viewport-tests
Take out multiplication to avoid precision errors because it doesn't; add viewportToImageRectangle test
Force a zoom factor of 2 and make that a constant; find the viewer position in the window for imageToWindowCoordinates (still not sure where the 20 x 20 pixel padding is coming from
More constants, fewer magic numbers.
Merge branch 'master' into issue-465
Remove randomness from test cases.