Skip to content
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
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<!-- Polyfill(s) for older browsers -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script>

<script src="https://npmcdn.com/zone.js@0.6.12?main=browser"></script>
<script src="https://npmcdn.com/reflect-metadata@0.1.3"></script>
<script src="https://unpkg.com/zone.js@0.6.12?main=browser"></script>
<script src="https://unpkg.com/reflect-metadata@0.1.3"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.27/system.js"></script>
<script src="https://npmcdn.com/typescript@1.8.10/lib/typescript.js"></script>
<script src="https://unpkg.com/typescript@1.8.10/lib/typescript.js"></script>

<!-- 2. Configure SystemJS -->
<script src="systemjs.config.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions systemjs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
//map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'rxjs': 'https://npmcdn.com/rxjs@5.0.0-beta.6',
'angular2-in-memory-web-api': 'https://npmcdn.com/angular2-in-memory-web-api' // get latest
'rxjs': 'https://unpkg.com/rxjs@5.0.0-beta.6',
'angular2-in-memory-web-api': 'https://unpkg.com/angular2-in-memory-web-api' // get latest
};

//packages tells the System loader how to load when no filename and/or no extension
Expand All @@ -28,9 +28,9 @@
'@angular/upgrade',
];

// add map entries for angular packages in the form '@angular/common': 'https://npmcdn.com/@angular/common@0.0.0-3?main=browser'
// add map entries for angular packages in the form '@angular/common': 'https://unpkg.com/@angular/common@0.0.0-3?main=browser'
packageNames.forEach(function(pkgName) {
map[pkgName] = 'https://npmcdn.com/' + pkgName + ngVer;
map[pkgName] = 'https://unpkg.com/' + pkgName + ngVer;
});

// add package entries for angular packages in the form '@angular/common': { main: 'index.js', defaultExtension: 'js' }
Expand Down