Skip to content

Commit

Permalink
chore(*): switch URLs from npmcdn.com to unpkg.com
Browse files Browse the repository at this point in the history
The domain changed, the old one redirects to the new one.
  • Loading branch information
mgol authored and ellimist committed Mar 15, 2017
1 parent 95bcc8b commit d75c960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/content/guide/component-router.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/angular1/angular_1_router.js"></script>
<script src="https://unpkg.com/@angular/[email protected]/angular1/angular_1_router.js"></script>
</file>

<file name="app.js">
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ngComponentRouter/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d75c960

Please sign in to comment.