We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294c2d5 commit 4bc11abCopy full SHA for 4bc11ab
src/methods.ts
@@ -70,6 +70,7 @@ const methods = {
70
...summary,
71
...exportImage,
72
init(this: MindElixirInstance, data: MindElixirData) {
73
+ data = JSON.parse(JSON.stringify(data))
74
if (!data || !data.nodeData) return new Error('MindElixir: `data` is required')
75
if (data.direction !== undefined) {
76
this.direction = data.direction
0 commit comments