Commit 0a629037 authored by campaign's avatar campaign

清除多余代码

parent bc182a2c
......@@ -30,16 +30,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
_createContGroup: function () {
this._createGroup( 'contrc' );
},
_createTextShape: function () {
var textShape = new kity.Text( this.getData( 'text' ) || '' );
textShape.setAttr( '_nodeTextShape', true );
this.getContRc().appendShape( textShape );
},
// _createIconShape: function () {
// var g = new kity.Group();
// this.getContRc().appendShape( g );
// this._iconRc = g;
// },
getContRc: function () {
var groups = this.rc.getShapesByType( 'group' ),
result;
......@@ -62,9 +52,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
} );
return result;
},
// getIconRc: function () {
// return this._iconRc;
// },
setPoint: function ( x, y ) {
if ( arguments.length < 2 ) {
this.setData( "point", x );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment