Skip to content

Commit

Permalink
Replace npmcdn.com with unpkg.com
Browse files Browse the repository at this point in the history
  • Loading branch information
npmcdn-to-unpkg-bot committed Sep 7, 2016
1 parent 98de6b4 commit b648875
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions embed-jupyter-widgets.html
@@ -1,10 +1,10 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<script src="https://npmcdn.com/codemirror@5.13.4/lib/codemirror.js"></script>
<script src="https://npmcdn.com/codemirror@5.13.4/mode/python/python.js"></script>
<script src="https://npmcdn.com/codemirror@5.13.4/mode/javascript/javascript.js"></script>
<link rel="stylesheet" type="text/css" href="https://npmcdn.com/codemirror@5.13.4/lib/codemirror.css">
<script src="https://unpkg.com/codemirror@5.13.4/lib/codemirror.js"></script>
<script src="https://unpkg.com/codemirror@5.13.4/mode/python/python.js"></script>
<script src="https://unpkg.com/codemirror@5.13.4/mode/javascript/javascript.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/codemirror@5.13.4/lib/codemirror.css">
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var inputarea = document.getElementsByClassName("inputarea")[0];
Expand All @@ -24,7 +24,7 @@
var snipetarea = document.getElementsByClassName("snipetarea")[0];
var snipet_editor = CodeMirror(snipetarea, {
value:
'\x3cscript src="https://npmcdn.com/jupyter-js-widgets@~1.0.0/dist/embed.js">\x3c/script>\n\
'\x3cscript src="https://unpkg.com/jupyter-js-widgets@~1.0.0/dist/embed.js">\x3c/script>\n\
\x3cscript type="application/vnd.jupyter-embedded-widgets">\n\
{\n\
"0b2839e97da34d4db1de1e0a58acb485": {\n\
Expand Down Expand Up @@ -151,7 +151,7 @@ <h2>Notebook Code</h2>
<div class="inputarea"></div>
<h2>Generated Live Widgets</h2>
<div class="widgetarea">
<script src="https://npmcdn.com/jupyter-js-widgets@~1.0.0/dist/embed.js"></script>
<script src="https://unpkg.com/jupyter-js-widgets@~1.0.0/dist/embed.js"></script>
<script type="application/vnd.jupyter-embedded-widgets">
{
"0b2839e97da34d4db1de1e0a58acb485": {
Expand Down
2 changes: 1 addition & 1 deletion widgets.html
Expand Up @@ -6,7 +6,7 @@

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

<section>
<div class="header">
Expand Down

0 comments on commit b648875

Please sign in to comment.