Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
82ddc3f0
Commit
82ddc3f0
authored
Jun 07, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new custom URL
parent
2bc63bca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
Makefile
Makefile
+1
-1
src/matplotlib-sideload.html
src/matplotlib-sideload.html
+4
-4
src/matplotlib.html
src/matplotlib.html
+4
-4
src/python.html
src/python.html
+4
-4
No files found.
Makefile
View file @
82ddc3f0
...
...
@@ -106,7 +106,7 @@ build/pyodide_dev.js: src/pyodide.js
build/pyodide.js
:
src/pyodide.js
cp
$<
$@
sed
-i
-e
's#{{DEPLOY}}#https://iodide
-project.github
.io/pyodide-demo/#g'
$@
sed
-i
-e
's#{{DEPLOY}}#https://iodide.io/pyodide-demo/#g'
$@
build/python.html
:
src/python.html
...
...
src/matplotlib-sideload.html
View file @
82ddc3f0
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"UTF-8"
>
<title>
Python - iodide
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide.io/dist/iodide.pyodide-20180605.css"
>
</head>
<body>
<script
id=
"jsmd"
type=
"text/jsmd"
>
...
...
@@ -26,7 +26,7 @@
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
https://iodide
-project.github
.io/pyodide-demo/pyodide.js
"
,
"
url
"
:
"
https://iodide.io/pyodide-demo/pyodide.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
...
...
@@ -54,10 +54,10 @@ Press Shift+Enter on the cell below to display the plot.
let
jsmd
=
document
.
getElementById
(
'
jsmd
'
);
jsmd
.
innerHTML
=
jsmd
.
innerHTML
+
text
;
let
script
=
document
.
createElement
(
'
script
'
);
script
.
src
=
'
https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.js
'
;
script
.
src
=
'
https://iodide.io/dist/iodide.pyodide-20180605.js
'
;
script
.
onload
=
()
=>
{
let
pyodide
=
document
.
createElement
(
'
script
'
);
pyodide
.
src
=
'
https://iodide
-project.github
.io/pyodide-demo/pyodide.js
'
;
pyodide
.
src
=
'
https://iodide.io/pyodide-demo/pyodide.js
'
;
pyodide
.
onload
=
()
=>
{
languagePluginLoader
.
then
(()
=>
{
window
.
pyodide
.
loadPackage
(
'
matplotlib
'
).
then
(()
=>
{
...
...
src/matplotlib.html
View file @
82ddc3f0
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"UTF-8"
>
<title>
Python - iodide
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide.io/dist/iodide.pyodide-20180605.css"
>
</head>
<body>
<script
id=
"jsmd"
type=
"text/jsmd"
>
...
...
@@ -26,7 +26,7 @@
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
https://iodide
-project.github
.io/pyodide-demo/pyodide.js
"
,
"
url
"
:
"
https://iodide.io/pyodide-demo/pyodide.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
...
...
@@ -41,7 +41,7 @@
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
https://iodide
-project.github
.io/pyodide-demo/pyodide.js
"
,
"
url
"
:
"
https://iodide.io/pyodide-demo/pyodide.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
...
...
@@ -204,6 +204,6 @@ plt.gcf().canvas.mpl_connect('motion_notify_event', motion_notify)
plt.show()
</script>
<div
id=
'page'
></div>
<script
src=
'https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.js'
></script>
<script
src=
'https://iodide.io/dist/iodide.pyodide-20180605.js'
></script>
</body>
</html>
src/python.html
View file @
82ddc3f0
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"UTF-8"
>
<title>
Python - iodide
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide.io/dist/iodide.pyodide-20180605.css"
>
</head>
<body>
<script
id=
"jsmd"
type=
"text/jsmd"
>
...
...
@@ -26,7 +26,7 @@
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
https://iodide
-project.github
.io/pyodide-demo/pyodide.js
"
,
"
url
"
:
"
https://iodide.io/pyodide-demo/pyodide.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
...
...
@@ -54,7 +54,7 @@ First, let's use a plugin cell to load the Python interpreter and tell Iodide ab
"displayName": "python",
"codeMirrorMode": "python",
"keybinding": "p",
"url": "https://iodide
-project.github
.io/pyodide-demo/pyodide.js",
"url": "https://iodide.io/pyodide-demo/pyodide.js",
"module": "pyodide",
"evaluator": "runPython",
"pluginType": "language"
...
...
@@ -262,6 +262,6 @@ A couple things that already work that will be coming to this example notebook s
%%
js
</script>
<div
id=
'page'
></div>
<script
src=
'https://iodide
-project.github
.io/dist/iodide.pyodide-20180605.js'
></script>
<script
src=
'https://iodide.io/dist/iodide.pyodide-20180605.js'
></script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment