Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created July 20, 2016 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/f3d0b1728ed2849dc038d512d69bf850 to your computer and use it in GitHub Desktop.
Save matthieu-D/f3d0b1728ed2849dc038d512d69bf850 to your computer and use it in GitHub Desktop.
addNewNode(node) {
node.subNodes = [...node.subNodes, this.treeManager.getNewNode()];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment