Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/modules/IDE/hooks/useP5Version.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import PropTypes from 'prop-types';
// TODO: use their API for this to grab these at build time?
export const p5Versions = [
'2.0.0',
'1.11.5',
'1.11.4',
'1.11.3',
'1.11.2',
Expand Down Expand Up @@ -135,7 +136,7 @@ export const p5Versions = [
'0.2.1'
];

export const currentP5Version = '1.11.4'; // Don't update to 2.x until 2026
export const currentP5Version = '1.11.3'; // Don't update to 2.x until 2026

export const p5SoundURLOld = `https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js`;
export const p5SoundURL =
Expand Down
4 changes: 2 additions & 2 deletions server/domain-objects/createDefaultFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function draw() {
export const defaultHTML = `<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.4/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.4/addons/p5.sound.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.3/addons/p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />

Expand Down