Skip to content

Commit 97a187d

Browse files
authored
Merge pull request #3457 from processing/fix-p5js-version
temporarily point to 1.11.3, add 1.11.5
2 parents 14f7529 + 93b7965 commit 97a187d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/modules/IDE/hooks/useP5Version.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import PropTypes from 'prop-types';
99
// TODO: use their API for this to grab these at build time?
1010
export const p5Versions = [
1111
'2.0.0',
12+
'1.11.5',
1213
'1.11.4',
1314
'1.11.3',
1415
'1.11.2',
@@ -135,7 +136,7 @@ export const p5Versions = [
135136
'0.2.1'
136137
];
137138

138-
export const currentP5Version = '1.11.4'; // Don't update to 2.x until 2026
139+
export const currentP5Version = '1.11.3'; // Don't update to 2.x until 2026
139140

140141
export const p5SoundURLOld = `https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js`;
141142
export const p5SoundURL =

server/domain-objects/createDefaultFiles.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function draw() {
99
export const defaultHTML = `<!DOCTYPE html>
1010
<html lang="en">
1111
<head>
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.4/p5.js"></script>
13-
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.4/addons/p5.sound.min.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/p5.js"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js"></script>
1414
<link rel="stylesheet" type="text/css" href="style.css">
1515
<meta charset="utf-8" />
1616

0 commit comments

Comments
 (0)