Fix error in CompoundPath#closePath(): Forgot to pass 'this' to getCurrentPath().

This commit is contained in:
Jürg Lehni 2011-03-03 12:26:28 +00:00
parent 1d37c7b76f
commit 490ef78b53

View file

@ -94,7 +94,7 @@ CompoundPath = PathItem.extend({
}, },
closePath: function() { closePath: function() {
var path = getCurrentPath(); var path = getCurrentPath(this);
path.setClosed(true); path.setClosed(true);
} }
}; };