Browse Source

better Canvas#inspect()

v1.x
Tj Holowaychuk 14 years ago
parent
commit
db61b4619e
  1. 2
      lib/canvas.js

2
lib/canvas.js

@ -71,7 +71,7 @@ require('./pixelarray');
*/
Canvas.prototype.inspect = function(){
return '[Canvas ' + this.width + ' ' + this.height + ']';
return '[Canvas ' + this.width + 'x' + this.height + ']';
};
/**

Loading…
Cancel
Save