Skip to content

Commit 312db23

Browse files
committed
Update 1.x version
1 parent 93cb715 commit 312db23

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/modules/IDE/hooks/useP5Version.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import PropTypes from 'prop-types';
88
// TODO: use their API for this to grab these at build time?
99
export const p5Versions = [
1010
'2.0.0',
11+
'1.11.4',
1112
'1.11.3',
1213
'1.11.2',
1314
'1.11.1',
@@ -133,7 +134,7 @@ export const p5Versions = [
133134
'0.2.1'
134135
];
135136

136-
export const currentP5Version = '1.11.3'; // Don't update to 2.x until 2026
137+
export const currentP5Version = '1.11.4'; // Don't update to 2.x until 2026
137138

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

server/domain-objects/createDefaultFiles.js

Lines changed: 2 additions & 2 deletions
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.1/p5.js"></script>
13-
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/addons/p5.sound.min.js"></script>
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>
1414
<link rel="stylesheet" type="text/css" href="style.css">
1515
<meta charset="utf-8" />
1616

0 commit comments

Comments
 (0)