Skip to content

Commit

Permalink
fix last build
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenaelp committed Mar 22, 2023
1 parent 73c578a commit cf1f53a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions stories/serialization-deserialization.story.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<template>
<Story title="serialization deserialization">
<Story title="serialization/deserialization">
<div>
<diagram :model="model"></diagram>
<button @click="model.serialize(textareaValue))">serialize</button>
<button @click="textareaValue = model.deserialize(serializedModel)">deserialize</button>
<textarea v-model="textareaValue" />
<button @click="console.log(model.serialize())">serialize</button>
<button @click="model.deserialize(serializedModel)">deserialize</button>
</div>
</Story>
</template>
Expand Down Expand Up @@ -36,8 +35,7 @@ export default {
return {
console,
serializedModel: diagramModel.serialize(),
model: diagramModel,
textareaValue: '',
model: diagramModel
};
},
};
Expand Down

0 comments on commit cf1f53a

Please sign in to comment.