Open antimonyGu opened 4 years ago
in /src/lib/Tree.js
checked () { if (!this.options.checkbox) { return null } return new Selection(this, ...this.checkedNodes) }
in src/lib/Selection.js
export default class Selection extends Array { constructor (tree, items = []) { /*eslint semi: 0 */ super(); this.tree = tree; this.push(...items) }
The source code has spread the List for two times, in my version of babel it will cause an error in the browser. I will make a pull request when I'm free to fix this problem.
in /src/lib/Tree.js
in src/lib/Selection.js
The source code has spread the List for two times, in my version of babel it will cause an error in the browser. I will make a pull request when I'm free to fix this problem.