Skip to content

Commit bb846c2

Browse files
Luis Morales-NavarroMathuraMG
authored andcommitted
Fixes #508 (#539)
* removed submodule and replaced interceptor for library * deleted comments * deleted jquery * deleted interceptor folder * delete interceptor * added jquery * removed jquery and updated accessible library cdn
1 parent c33d68c commit bb846c2

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ ADD . $APP_HOME
88
WORKDIR $APP_HOME
99

1010
# Install node modules
11-
RUN git submodule init && \
12-
npm install
11+
RUN npm install
1312

1413
# Rebuild node-sass just to be safe
1514
RUN npm rebuild node-sass

client/modules/IDE/components/PreviewFrame.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class PreviewFrame extends React.Component {
203203
'/hijackConsole.js'
204204
];
205205
const accessiblelib = sketchDoc.createElement('script');
206-
accessiblelib.setAttribute('src', 'https://cdn.rawgit.com/MathuraMG/p5-accessibility/e856365c/dist/p5-accessibility.js');
206+
accessiblelib.setAttribute('src', 'https://cdn.rawgit.com/MathuraMG/p5-accessibility/9cb5bd0b/dist/p5-accessibility.js');
207207
if (this.props.textOutput) {
208208
sketchDoc.getElementById('accessibility-library').appendChild(accessiblelib);
209209
const textSection = sketchDoc.createElement('section');
@@ -401,7 +401,6 @@ PreviewFrame.propTypes = {
401401
textOutput: PropTypes.bool.isRequired,
402402
gridOutput: PropTypes.bool.isRequired,
403403
soundOutput: PropTypes.bool.isRequired,
404-
// setTextOutput: PropTypes.func.isRequired,
405404
htmlFile: PropTypes.shape({
406405
content: PropTypes.string.isRequired
407406
}).isRequired,

client/modules/IDE/reducers/files.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const defaultHTML =
1313
`<!DOCTYPE html>
1414
<html>
1515
<head>
16-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
1716
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/p5.min.js"></script>
1817
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/addons/p5.dom.min.js"></script>
1918
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/addons/p5.sound.min.js"></script>

static/p5-interceptor

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)