tied className into toJSON and create. deprecated shapeType property and getShapeType method

This commit is contained in:
Eric Rowell
2013-05-19 21:48:48 -07:00
parent 7069bf9e0c
commit 35b1f61bda
32 changed files with 43 additions and 65 deletions

View File

@@ -187,7 +187,7 @@
_initTag: function(config) {
this.createAttrs();
Kinetic.Shape.call(this, config);
this.shapeType = 'Tag';
this.className = 'Tag';
this._setDrawFuncs();
},
drawFunc: function(canvas) {