removed createAttrs method and cleaned up init logic

This commit is contained in:
Eric Rowell
2013-07-22 22:05:21 -07:00
parent 37a15817b5
commit 1fc57bed4c
20 changed files with 15 additions and 48 deletions

View File

@@ -58,7 +58,6 @@
____init: function(config) {
var that = this;
this.createAttrs();
this.className = LABEL;
Kinetic.Group.call(this, config);
@@ -173,7 +172,6 @@
Kinetic.Tag.prototype = {
___init: function(config) {
this.createAttrs();
Kinetic.Shape.call(this, config);
this.className = 'Tag';
},