From 7fa53a2db3efd4c2ff9e2ca956109bacf5b664c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 5 Mar 2011 20:59:06 +0000 Subject: [PATCH] Allow chaining of Size setters. --- src/basic/Size.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/Size.js b/src/basic/Size.js index 8cb9238b..4e12bdef 100644 --- a/src/basic/Size.js +++ b/src/basic/Size.js @@ -29,6 +29,7 @@ var Size = this.Size = Base.extend({ set: function(width, height) { this.width = width; this.height = height; + return this; }, add: function() {