Fix Path#transform() to also return a reference to 'this'.

This commit is contained in:
Jürg Lehni 2011-12-25 16:39:08 +01:00
parent 783d2782c0
commit 7af06502bc

View file

@ -209,7 +209,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
// DOCS: Explain that path matrix is always applied with each transformation.
transform: function(matrix) {
this.base(matrix, true);
return this.base(matrix, true);
},
getMatrix: function() {