chore(*): switch URLs from npmcdn.com to unpkg.com

The domain changed, the old one redirects to the new one.
This commit is contained in:
Michał Gołębiowski
2016-11-02 14:32:02 +01:00
parent 433c8714f3
commit a7076dc0bb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -150,7 +150,7 @@ You can see the complete application running below.
<app></app>
<!-- Load up the router library - normally you might use npm and host it locally -->
<script src="https://npmcdn.com/@angular/router@0.2.0/angular1/angular_1_router.js"></script>
<script src="https://unpkg.com/@angular/router@0.2.0/angular1/angular_1_router.js"></script>
</file>
<file name="app.js">
@@ -493,7 +493,7 @@ You also need to include ES6 shims for browsers that do not support ES6 code (In
<!-- IE required polyfills, in this exact order -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
<script src="https://unpkg.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
```
## Create the `app` module
+1 -1
View File
@@ -26,7 +26,7 @@
* <!-- IE required polyfills, in this exact order -->
* <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
* <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
* <script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
* <script src="https://unpkg.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
* ```
*
* Then load the module in your application by adding it as a dependent module: