Make style setter calls chainable.

This commit is contained in:
Jürg Lehni 2011-03-06 14:44:54 +00:00
parent 2c034475b0
commit 8be1041011

View file

@ -31,6 +31,7 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
} else {
this['_' + key] = isColor ? Color.read(arguments) : value;
}
return this;
};
fields[get] = function() {
@ -53,6 +54,7 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
this[set] = function(value) {
this._style[set](value);
return this;
};
this[get] = function() {