From 348ee7613f98a413204b842920c8db789d4980a5 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Fri, 12 Nov 2010 09:13:31 -0800 Subject: [PATCH] Better Image#inspect() --- lib/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Image.js b/lib/Image.js index 91bf137..be0658b 100644 --- a/lib/Image.js +++ b/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 + ']'; }; \ No newline at end of file