Allow chaining of Size setters.

This commit is contained in:
Jürg Lehni 2011-03-05 20:59:06 +00:00
parent 9f67f32701
commit 7fa53a2db3

View file

@ -29,6 +29,7 @@ var Size = this.Size = Base.extend({
set: function(width, height) { set: function(width, height) {
this.width = width; this.width = width;
this.height = height; this.height = height;
return this;
}, },
add: function() { add: function() {