mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
removed createAttrs method and cleaned up init logic
This commit is contained in:
@@ -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';
|
||||
},
|
||||
|
Reference in New Issue
Block a user