From cff9649518a952b3d607a19612ce0c9cfa37511d Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Tue, 28 Dec 2010 09:35:09 -0800 Subject: [PATCH] Fixed duplicate textAlign getter --- lib/context2d.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/context2d.js b/lib/context2d.js index 2b3c5c2..cc9f80b 100644 --- a/lib/context2d.js +++ b/lib/context2d.js @@ -248,7 +248,7 @@ Context2d.prototype.__defineSetter__('textBaseline', function(val){ * @api public */ -Context2d.prototype.__defineGetter__('textAlign', function(){ +Context2d.prototype.__defineGetter__('textBaseline', function(){ return this.lastBaseline || 'alphabetic'; });