Commit 82ddc3f0 authored by Michael Droettboom's avatar Michael Droettboom

Update to new custom URL

parent 2bc63bca
......@@ -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
......
......@@ -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(() => {
......
......@@ -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>
......@@ -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>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment