Skip to content

Commit a7076dc

Browse files
committed
chore(*): switch URLs from npmcdn.com to unpkg.com
The domain changed, the old one redirects to the new one.
1 parent 433c871 commit a7076dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/content/guide/component-router.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ You can see the complete application running below.
150150
<app></app>
151151

152152
<!-- Load up the router library - normally you might use npm and host it locally -->
153-
<script src="https://npmcdn.com/@angular/[email protected]/angular1/angular_1_router.js"></script>
153+
<script src="https://unpkg.com/@angular/[email protected]/angular1/angular_1_router.js"></script>
154154
</file>
155155

156156
<file name="app.js">
@@ -493,7 +493,7 @@ You also need to include ES6 shims for browsers that do not support ES6 code (In
493493
<!-- IE required polyfills, in this exact order -->
494494
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
495495
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
496-
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
496+
<script src="https://unpkg.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
497497
```
498498

499499
## Create the `app` module

src/ngComponentRouter/Router.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <!-- IE required polyfills, in this exact order -->
2727
* <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
2828
* <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
29-
* <script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
29+
* <script src="https://unpkg.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
3030
* ```
3131
*
3232
* Then load the module in your application by adding it as a dependent module:

0 commit comments

Comments
 (0)