Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5a6439d

Browse files
authoredSep 7, 2016
Merge pull request jupyter#122 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg
Replace npmcdn.com with unpkg.com
2 parents 98de6b4 + b648875 commit 5a6439d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎embed-jupyter-widgets.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<html>
22
<head>
33
<meta http-equiv="content-type" content="text/html; charset=UTF8">
4-
<script src="https://npmcdn.com/codemirror@5.13.4/lib/codemirror.js"></script>
5-
<script src="https://npmcdn.com/codemirror@5.13.4/mode/python/python.js"></script>
6-
<script src="https://npmcdn.com/codemirror@5.13.4/mode/javascript/javascript.js"></script>
7-
<link rel="stylesheet" type="text/css" href="https://npmcdn.com/codemirror@5.13.4/lib/codemirror.css">
4+
<script src="https://unpkg.com/codemirror@5.13.4/lib/codemirror.js"></script>
5+
<script src="https://unpkg.com/codemirror@5.13.4/mode/python/python.js"></script>
6+
<script src="https://unpkg.com/codemirror@5.13.4/mode/javascript/javascript.js"></script>
7+
<link rel="stylesheet" type="text/css" href="https://unpkg.com/codemirror@5.13.4/lib/codemirror.css">
88
<script>
99
document.addEventListener("DOMContentLoaded", function(event) {
1010
var inputarea = document.getElementsByClassName("inputarea")[0];
@@ -24,7 +24,7 @@
2424
var snipetarea = document.getElementsByClassName("snipetarea")[0];
2525
var snipet_editor = CodeMirror(snipetarea, {
2626
value:
27-
'\x3cscript src="https://npmcdn.com/jupyter-js-widgets@~1.0.0/dist/embed.js">\x3c/script>\n\
27+
'\x3cscript src="https://unpkg.com/jupyter-js-widgets@~1.0.0/dist/embed.js">\x3c/script>\n\
2828
\x3cscript type="application/vnd.jupyter-embedded-widgets">\n\
2929
{\n\
3030
"0b2839e97da34d4db1de1e0a58acb485": {\n\
@@ -151,7 +151,7 @@ <h2>Notebook Code</h2>
151151
<div class="inputarea"></div>
152152
<h2>Generated Live Widgets</h2>
153153
<div class="widgetarea">
154-
<script src="https://npmcdn.com/jupyter-js-widgets@~1.0.0/dist/embed.js"></script>
154+
<script src="https://unpkg.com/jupyter-js-widgets@~1.0.0/dist/embed.js"></script>
155155
<script type="application/vnd.jupyter-embedded-widgets">
156156
{
157157
"0b2839e97da34d4db1de1e0a58acb485": {

‎widgets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<link href="css/gallery.css" rel="stylesheet">
88
<link href="css/syntax.css" rel="stylesheet">
9-
<script src="https://npmcdn.com/jupyter-js-widgets@1.1.2/dist/embed.js"></script>
9+
<script src="https://unpkg.com/jupyter-js-widgets@1.1.2/dist/embed.js"></script>
1010

1111
<section>
1212
<div class="header">

0 commit comments

Comments
 (0)
Please sign in to comment.