From 8dada77ce54e7379bdd5fa465fc50f68a84a72a9 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 29 Jul 2019 12:58:00 -0400 Subject: [PATCH] fixes #1121, updates p5.js default to 0.9.0 (#1125) --- client/modules/IDE/reducers/files.js | 6 +++--- server/scripts/examples.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js index a95c4c9d..46c0dd30 100644 --- a/client/modules/IDE/reducers/files.js +++ b/client/modules/IDE/reducers/files.js @@ -13,9 +13,9 @@ const defaultHTML = ` - - - + + + diff --git a/server/scripts/examples.js b/server/scripts/examples.js index 96a0d2d8..b53b9a60 100644 --- a/server/scripts/examples.js +++ b/server/scripts/examples.js @@ -11,9 +11,9 @@ const defaultHTML = ` - - - + + + @@ -119,7 +119,7 @@ function getSketchContent(projectsInAllCategories) { const splitedRes = `${res.split('*/')[1].split('')[i]}\n`; project.sketchContent = splitedRes.replace( 'p5.js', - 'https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.4/p5.min.js' + 'https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.js' ); } } else {