Skip to content

Commit 5fb113c

Browse files
authored
Merge pull request #4 from trinketapp/v3.1.0
V3.1.0
2 parents 8e1ddac + d6bc817 commit 5fb113c

71 files changed

Lines changed: 4112 additions & 3258 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.git
2+
.gitignore
3+
/api/venv

.flaskenv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FLASK_APP=main.py
2+
FLASK_ENV=development
3+
FLASK_RUN_HOST=localhost
4+
FLASK_RUN_PORT=8080
5+
GLOWSCRIPT_RUNNING_LOCALLY=true
6+
DATASTORE_EMULATOR_HOST=localhost:8081
7+
CLIENT_SECRET_VERSION=1

.gcloudignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file specifies files that are *not* uploaded to Google Cloud Platform
2+
# using gcloud. It follows the same syntax as .gitignore, with the addition of
3+
# "#!include" directives (which insert the entries of the given .gitignore-style
4+
# file at that point).
5+
#
6+
# For more information, run:
7+
# $ gcloud topic gcloudignore
8+
#
9+
.gcloudignore
10+
# If you would like to upload your .git directory, .gitignore file or files
11+
# from your .gitignore file, remove the corresponding line
12+
# below:
13+
.git
14+
.gitignore
15+
/venv
16+
# Ignored by the build system
17+
/setup.cfg

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
12
node_modules
23
bower_components
34
*.pyc
45
.DS_Store
5-
*~
66
/venv
7+
__pycache__/
8+
*~
9+
/.vscode/
10+
/ide/.vscode
11+
/ide/flask_secret.py
712

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.8.5-buster
2+
3+
RUN mkdir /app
4+
5+
WORKDIR /app
6+
7+
COPY ./requirements.txt /app
8+
9+
RUN pip install -U pip
10+
11+
RUN pip install -r requirements.txt
12+
13+
COPY . /app
14+
15+
CMD flask run
16+
17+
18+

ForInstalledPython/glow.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GlowScriptOffline/GlowScript.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
<script type="text/javascript" src="glowscript_libraries/jquery.min.js"></script>
4343
<script type="text/javascript" src="glowscript_libraries/jquery-ui.custom.min.js"></script>
4444
<script type="text/javascript" src="glowscript_libraries/editor.js"></script>
45-
<script type="text/javascript" src="glowscript_libraries/RSrun.3.0.min.js"></script>
46-
<script type="text/javascript" src="glowscript_libraries/glow.3.0.min.js" charset="UTF-8"></script>
45+
<script type="text/javascript" src="glowscript_libraries/RSrun.3.1.min.js"></script>
46+
<script type="text/javascript" src="glowscript_libraries/glow.3.1.min.js" charset="UTF-8"></script>
4747
<script type="text/javascript" src="glowscript_libraries/split.min.js"></script>
4848
<script type="text/javascript" src="glowscript_libraries/Roboto_Medium_ttf_sans.js"></script>
4949
<script type="text/javascript" src="glowscript_libraries/NimbusRomNo9L_Med_otf_serif.js"></script>
@@ -60,14 +60,14 @@
6060
<input type="file" id="read_local_file"/>
6161

6262
<script>
63-
var gsversion = '3.0'
63+
var gsversion = '3.1'
6464
var printpane = false
6565
var exporting = false // not currently in export mode
6666
var lastprintwidth = null
6767

68-
var glowscript_run = undefined
6968
window.Jupyter_VPython = undefined
7069
if (!navigator.onLine) window.Jupyter_VPython = 'glowscript_data/' // get textures when offline
70+
7171
// TAB at end of line should lengthen the line; implement Ctrl-1 and Ctrl-2
7272

7373
// localCompile is a modification of https://github.com/vpython/glowscript/blob/master/ide/ide.js

GlowScriptOffline/glowscript_libraries/RScompiler.3.0.min.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

GlowScriptOffline/glowscript_libraries/RScompiler.3.1.min.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GlowScriptOffline/glowscript_libraries/RSrun.3.0.min.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)