Lime sample SimpleImage problem in html5

I’m getting black screen and this error:

TypeError: image is undefined

in here

lime_graphics_Image.fromImageElement = function(image) {
    var buffer = new lime_graphics_ImageBuffer(null,image.width,image.height);
    return new lime_graphics_Image(buffer);

lime 2.3.2
lime-samples 2.3.0

init () is called earlier than it was when the simple was first written, I just patched in the lime-samples repository. Thanks for bringing this up! On HTML5, init () now occurs before assets have been preloaded

It’s working now! Thanks for fixing!