diff --git a/index.html b/index.html index 980ac65..2c9af6c 100644 --- a/index.html +++ b/index.html @@ -13,10 +13,10 @@ - - + + - + diff --git a/systemjs.config.js b/systemjs.config.js index da7fc5f..38ad62c 100644 --- a/systemjs.config.js +++ b/systemjs.config.js @@ -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 @@ -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' }