Skip to content

Commit

Permalink
[site] Load libraries from unpkg (#9499)
Browse files Browse the repository at this point in the history
* [site] Load libraries from unpkg

* Revert Gemfile changes
  • Loading branch information
Daniel15 authored and gaearon committed Apr 26, 2017
1 parent 3d60d4c commit cf24d87
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 32,192 deletions.
22 changes: 11 additions & 11 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@
<script>try{Typekit.load();}catch(e){}</script>

<!--[if lte IE 8]>
<script src="/react/js/html5shiv.min.js"></script>
<script src="/react/js/es5-shim.min.js"></script>
<script src="/react/js/es5-sham.min.js"></script>
<script src="https://unpkg.com/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
<script src="https://unpkg.com/es5-shim@4.5.9/es5-shim.min.js"></script>
<script src="https://unpkg.com/es5-shim@4.5.9/es5-sham.min.js"></script>
<![endif]-->
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
<script src="/react/js/codemirror.js"></script>
<script src="/react/js/javascript.js"></script>
<script src="/react/js/xml.js"></script>
<script src="/react/js/jsx.js"></script>
<script src="/react/js/react.js"></script>
<script src="/react/js/react-dom.js"></script>
<script src="/react/js/babel.min.js"></script>
<script src="https://unpkg.com/docsearch.js@1.5.0/dist/cdn/docsearch.min.js"></script>
<script src="https://unpkg.com/codemirror@5.15.2"></script>
<script src="https://unpkg.com/codemirror@5.15.2/mode/javascript/javascript.js"></script>
<script src="https://unpkg.com/codemirror@5.15.2/mode/xml/xml.js"></script>
<script src="https://unpkg.com/codemirror@5.15.2/mode/jsx/jsx.js"></script>
<script src="https://unpkg.com/react/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom/dist/react-dom.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>
<script src="/react/js/live_editor.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ id: home
<div id="markdownExample"></div>
</div>
</div>
<script src="/react/js/remarkable.min.js"></script>
<script src="https://unpkg.com/remarkable@1.7.1/dist/remarkable.min.js"></script>
<script src="/react/js/examples/hello.js"></script>
<script src="/react/js/examples/timer.js"></script>
<script src="/react/js/examples/todo.js"></script>
Expand Down
Loading

0 comments on commit cf24d87

Please sign in to comment.