Open roosmaa opened 11 years ago
The fix for #13 (commit ce7b88a) seems to have broke the .doOnLoad(...) function for ImageScaleView.
When calling doOnLoad right after the creation of ImageScaleView the _img is null (in doOnLoad), thus an exception is thrown.
var v = new ui.ImageScaleView({ superview: this, image: "path/to/my/image.png" }); v.doOnLoad(cb);
Might be invalid. Removing the project build files removed the problem for me. Might still be the case for regular URLs?
The fix for #13 (commit ce7b88a) seems to have broke the .doOnLoad(...) function for ImageScaleView.
When calling doOnLoad right after the creation of ImageScaleView the _img is null (in doOnLoad), thus an exception is thrown.