|
@ -21,6 +21,7 @@ var Canvas = require('../build/default/canvas') |
|
|
|
|
|
|
|
|
Image.prototype.inspect = function(){ |
|
|
Image.prototype.inspect = function(){ |
|
|
return '[Image' |
|
|
return '[Image' |
|
|
|
|
|
+ (this.complete ? ':' + this.width + 'x' + this.height : '') |
|
|
+ (this.src ? ' ' + this.src : '') |
|
|
+ (this.src ? ' ' + this.src : '') |
|
|
+ (this.complete ? ' complete' : '') |
|
|
+ (this.complete ? ' complete' : '') |
|
|
+ ']'; |
|
|
+ ']'; |
|
|