@ -22,6 +22,6 @@ var Canvas = require('../build/default/canvas')
Image.prototype.inspect = function(){
return '[Image'
+ (this.complete ? ' complete' : '')
// + ' ' + this.src
+ ' ' + this.src
+ ']';
};
@ -145,7 +145,7 @@ Image::SetOnerror(Local<String>, Local<Value> val, const AccessorInfo &info) {
Image::Image() {
complete = false;
filename = NULL;
filename = (char *) "";
_surface = NULL;
}