From 363ed3052a01d7e3942e40e786e337041048bce2 Mon Sep 17 00:00:00 2001 From: npmcdn-to-unpkg-bot Date: Wed, 31 Aug 2016 01:39:54 +0100 Subject: [PATCH] Replace npmcdn.com with unpkg.com --- index.html | 6 +++--- systemjs.config.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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' }