Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lyzerk/fabric-history
Browse files Browse the repository at this point in the history
  • Loading branch information
alimozdemir committed Oct 18, 2022
2 parents 3849a0b + efed52c commit a21124d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ canvas.undo();
canvas.redo();
```

# Example
# Example (only for demo purposes)

```html
<!doctype html>
Expand All @@ -41,9 +41,9 @@ canvas.redo();
<title>Fabric with history</title>
</head>
<body>
<canvas></canvas>
<canvas style="border:1px solid black;" width="800" height="400"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.4.0/fabric.min.js"></script>
<script src="//raw.githubusercontent.com/lyzerk/fabric-history/master/src/index.js"></script>
<script src="https://alimozdemir.com/fabric-history/src/index.js"></script>

<script>
const canvas = new fabric.Canvas(document.querySelector('canvas'), {
Expand Down

0 comments on commit a21124d

Please sign in to comment.