Commit 8e87eb5e authored by Akikonata's avatar Akikonata

Merge branch 'dev' of https://github.com/kitygraph/kityminder into dev

parents 4f2c9226 60da728d
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
</div> </div>
</body> </body>
<script> <script>
KM.getKityMinder('kityminder'); var km = KM.getKityMinder('kityminder');
</script> </script>
</html> </html>
\ No newline at end of file
...@@ -227,7 +227,7 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", { ...@@ -227,7 +227,7 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
}, },
clone: function () { clone: function () {
function cloneNode( parent, isClonedNode ) { function cloneNode( parent, isClonedNode ) {
var _tmp = new KM.MinderNode(); var _tmp = new KM.MinderNode(isClonedNode.getText());
_tmp.data = Utils.clonePlainObject( isClonedNode.getData() ); _tmp.data = Utils.clonePlainObject( isClonedNode.getData() );
_tmp.parent = parent; _tmp.parent = parent;
......
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