Skip to content

Commit 19f36a6

Browse files
committed
fix example code on Readme
1 parent 7779e0b commit 19f36a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ sc.init().then(() => {
5757
**'scratch.move'**
5858
```js
5959
sc.canvas.addEventListener('scratch.move', function() {
60-
let percent = test.getPercent();
60+
let percent = sc.getPercent();
6161
console.log(percent);
6262
});
6363
```

0 commit comments

Comments
 (0)