Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove from pyp5js import * #183

Merged
merged 4 commits into from
Oct 14, 2021
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ upload_pypi:

# helper command for the maintainer to refresh the docs files
refresh_transcrypt_docs:
cd docs/examples/transcrypt; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/transcrypt" pyp5js compile $$x --refresh; done;
cd docs/examples/transcrypt; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/transcrypt/" pyp5js compile $$x --refresh --template "/home/bernardo/envs/pyp5js/docs/examples/transcrypt/index.html.template"; done;

refresh_pyodide_docs:
cd docs/examples/pyodide; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/pyodide" pyp5js compile $$x --refresh; done;
cd docs/examples/pyodide; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/pyodide" pyp5js compile $$x --refresh --template "/home/bernardo/envs/pyp5js/docs/examples/pyodide/index.html.template"; done;
3 changes: 0 additions & 3 deletions docs/examples/transcrypt/sketch_001/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
<code>
# https://p5js.org/examples/interaction-wavemaker.html


from pyp5js import *

t = 0

def setup():
Expand Down
3 changes: 0 additions & 3 deletions docs/examples/transcrypt/sketch_001/sketch_001.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# https://p5js.org/examples/interaction-wavemaker.html


from pyp5js import *

t = 0

def setup():
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ class Exception (BaseException):
#__pragma__ ('kwargs')
def __init__ (self, *args, **kwargs):
self.__args__ = args
try:
if kwargs.error != None:
self.stack = kwargs.error.stack # Integrate with JavaScript Error object
except:
elif Error:
self.stack = (__new__(Error())).stack # Create our own stack if we aren't given one
else:
self.stack = 'No stack trace available'
#__pragma__ ('nokwargs')

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/transcrypt/sketch_001/target/pyp5js.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 0 additions & 47 deletions docs/examples/transcrypt/sketch_001/target/sketch_001.js

This file was deleted.

31 changes: 0 additions & 31 deletions docs/examples/transcrypt/sketch_001/target/sketch_001.py

This file was deleted.

Loading