Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
chore: Replace npmcdn with unpkg (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
riseremi authored and tleunen committed Aug 31, 2016
1 parent 8501d90 commit a00a538
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const DocHtml = props => {
<title>{title}</title>
{props.favicon && <link rel="shortcut icon" href={props.favicon} />}
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<script src="https://npmcdn.com/dialog-polyfill/dialog-polyfill.js"></script>
<link rel="stylesheet" type="text/css" href="https://npmcdn.com/dialog-polyfill/dialog-polyfill.css" />
<script src="https://unpkg.com/dialog-polyfill/dialog-polyfill.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dialog-polyfill/dialog-polyfill.css" />
{cssLink}
</head>
<body>
Expand Down
14 changes: 7 additions & 7 deletions docs/loaders/markdown-loader/render-codepen-button.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const jsExternal = [
'https://npmcdn.com/react/dist/react.js',
'https://npmcdn.com/react-dom/dist/react-dom.js',
'https://npmcdn.com/react-mdl/extra/material.js',
'https://npmcdn.com/react-mdl/out/ReactMDL.js',
'https://npmcdn.com/dialog-polyfill/dialog-polyfill.js'
'https://unpkg.com/react/dist/react.js',
'https://unpkg.com/react-dom/dist/react-dom.js',
'https://unpkg.com/react-mdl/extra/material.js',
'https://unpkg.com/react-mdl/out/ReactMDL.js',
'https://unpkg.com/dialog-polyfill/dialog-polyfill.js'
];
const cssExternal = [
'https://npmcdn.com/react-mdl/extra/material.css',
'https://npmcdn.com/dialog-polyfill/dialog-polyfill.css'
'https://unpkg.com/react-mdl/extra/material.css',
'https://unpkg.com/dialog-polyfill/dialog-polyfill.css'
];

function getSimpleDemoCode(jsxCode) {
Expand Down

0 comments on commit a00a538

Please sign in to comment.