File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,15 +142,15 @@ export const p5Versions = [
142
142
'0.2.1'
143
143
] ;
144
144
145
- export const currentP5Version = '1.11.5 ' ; // Don't update to 2.x until 2026
145
+ export const currentP5Version = '1.11.8 ' ; // Don't update to 2.x until 2026
146
146
147
147
export const majorVersion = ( version ) => version . split ( '.' ) [ 0 ] ;
148
148
149
149
export const p5SoundURLOldTemplate =
150
150
'https://cdnjs.cloudflare.com/ajax/libs/p5.js/$VERSION/addons/p5.sound.min.js' ;
151
151
export const p5SoundURLOld = p5SoundURLOldTemplate . replace (
152
152
'$VERSION' ,
153
- '1.11.3'
153
+ currentP5Version
154
154
) ;
155
155
export const p5SoundURL =
156
156
'https://cdn.jsdelivr.net/npm/p5.sound@0.2.0/dist/p5.sound.min.js' ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ function draw() {
9
9
export const defaultHTML = `<!DOCTYPE html>
10
10
<html lang="en">
11
11
<head>
12
- <script src="https://cdn.jsdelivr.net/npm/p5@1.11.7 /lib/p5.js"></script>
13
- <script src="https://cdn.jsdelivr.net/npm/p5@1.11.7 /lib/addons/p5.sound.min.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/p5@1.11.8 /lib/p5.js"></script>
13
+ <script src="https://cdn.jsdelivr.net/npm/p5@1.11.8 /lib/addons/p5.sound.min.js"></script>
14
14
<link rel="stylesheet" type="text/css" href="style.css">
15
15
<meta charset="utf-8" />
16
16
You can’t perform that action at this time.
0 commit comments