Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Replace npmcdn.com with unpkg.com #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions demo/client/data/codepen.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ class Codepen {
// const example = this.Examples.get(exampleId);
const data = {
css_external: [
'//npmcdn.com/[email protected]/angular-material.min.css'
'//unpkg.com/[email protected]/angular-material.min.css'
].join(';'),
js_external: [
'//cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular.min.js',
'//npmcdn.com/[email protected]/angular-animate.min.js',
'//npmcdn.com/[email protected]/angular-aria.min.js',
'//npmcdn.com/angular-material@latest/angular-material.min.js',
'//npmcdn.com/[email protected]/angular-messages.min.js',
'//npmcdn.com/api-check@latest/dist/api-check.js',
'//npmcdn.com/angular-formly@latest/dist/formly.js',
'//npmcdn.com/angular-formly-material@latest/dist/formly-material.js'
'//unpkg.com/[email protected]/angular-animate.min.js',
'//unpkg.com/[email protected]/angular-aria.min.js',
'//unpkg.com/angular-material@latest/angular-material.min.js',
'//unpkg.com/[email protected]/angular-messages.min.js',
'//unpkg.com/api-check@latest/dist/api-check.js',
'//unpkg.com/angular-formly@latest/dist/formly.js',
'//unpkg.com/angular-formly-material@latest/dist/formly-material.js'
].join(';'),
html: this._getHTML().trim()
};
Expand Down
2 changes: 1 addition & 1 deletion demo/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title>FormlyMaterial demo</title>
<base href="/">
<meta name="viewport" content="initial-scale=1" />
<script src="https://npmcdn.com/[email protected]/angular-highlightjs.min.js"></script>
<script src="https://unpkg.com/[email protected]/angular-highlightjs.min.js"></script>
</head>
<body>
<demo style="display: flex;" layout-fill></demo>
Expand Down