mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
standardized init method names with underscores
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
CHILDREN = 'children';
|
||||
|
||||
Kinetic.Util.addMethods(Kinetic.Node, {
|
||||
_nodeInit: function(config) {
|
||||
_init: function(config) {
|
||||
this._id = Kinetic.Global.idCounter++;
|
||||
this.eventListeners = {};
|
||||
this.setAttrs(config);
|
||||
|
Reference in New Issue
Block a user