Browse Source

Better Image#inspect()

v1.x
Tj Holowaychuk 14 years ago
parent
commit
348ee7613f
  1. 2
      lib/Image.js

2
lib/Image.js

@ -21,7 +21,7 @@ var Canvas = require('../build/default/canvas')
Image.prototype.inspect = function(){
return '[Image'
+ (this.src ? ' ' + this.src : '')
+ (this.complete ? ' complete' : '')
+ ' ' + this.src
+ ']';
};
Loading…
Cancel
Save