imulus/retinajs — pull request #9 by caseyohara (2012-04-14 23:55:30+00:00)
Title: Feature/test

• Splits up logic and execution into testable units
• Adds unit tests for Issue #3's pull request (@robflaherty)
• Adds unit tests for Issue #4's pull request (@robflaherty)
• Addresses Issue #2 (@robflaherty) by checking the image path right away and only waiting for `image.complete` before actually applying the @2x path and the original image dimensions.