Skip to content

Commit cca330b

Browse files
committed
Prepare September Beta release
1 parent 7da466d commit cca330b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

p5js/js/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<body>
1717
<script src="renderer.js"></script>
1818
<script src="./node_modules/p5/lib/p5.min.js"></script>
19-
<script src="./node_modules/p5.sound/dist/p5.sound.min.js"></script>
19+
<script src="./node_modules/p5/lib/addons/p5.sound.js"></script>
2020
<script src="sketch.js"></script>
2121
</body>
2222
</html>

p5js/js/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"electron": "^37.4.0"
77
},
88
"dependencies": {
9-
"p5": "^1.11.10",
10-
"p5.sound": "^0.2.0"
9+
"p5": "^1.11.10"
1110
}
1211
}

p5js/src/main/kotlin/p5jsEditor.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class p5jsEditor(base: Base, path: String?, state: EditorState?, mode: Mode?): E
7575
<body>
7676
<script src="renderer.js"></script>
7777
<script src="./node_modules/p5/lib/p5.js"></script>
78-
<script src="./node_modules/p5.sound/dist/p5.sound.js"></script>
78+
<script src="./node_modules/p5/lib/addons/p5.sound.js"></script>
7979
<script src="$name.js"></script>
8080
</body>
8181
</html>
@@ -250,7 +250,7 @@ class p5jsEditor(base: Base, path: String?, state: EditorState?, mode: Mode?): E
250250
// TODO: more robust data exchange, double-check with @Stef
251251
// TODO: `statusError` does not do anything with column of a SketchException
252252
val ( msgType, msgText, msgFile, msgLine, msgCol ) = line.split("|")
253-
statusError(SketchException(msgText, 0, msgLine.toInt(), msgCol.toInt()))
253+
statusError(SketchException(msgText, 0, msgLine.toInt()-1, msgCol.toInt()))
254254
continue
255255
}
256256

0 commit comments

Comments
 (0)