Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit c380d69

Browse files
Foxandxssnaomiblack
authored andcommitted
chore: lock router-deprecated to rc.2 for plunkers
1 parent 2480a91 commit c380d69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

public/docs/_examples/systemjs.config.plunker.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
var ngVer = '@2.0.0-rc.3'; // lock in the angular package version; do not let it float to current!
99
var routerVer = '@3.0.0-alpha.7'; // lock router version
1010
var formsVer = '@0.1.1'; // lock forms version
11+
var routerDeprecatedVer = '@2.0.0-rc.2'; // temporarily until we update all the guides
1112

1213
//map tells the System loader where to look for things
1314
var map = {
@@ -16,6 +17,7 @@
1617
'@angular': 'https://npmcdn.com/@angular', // sufficient if we didn't pin the version
1718
'@angular/router': 'https://npmcdn.com/@angular/router' + routerVer,
1819
'@angular/forms': 'https://npmcdn.com/@angular/forms' + formsVer,
20+
'@angular/router-deprecated': 'https://npmcdn.com/@angular/router-deprecated' + routerDeprecatedVer,
1921
'angular2-in-memory-web-api': 'https://npmcdn.com/angular2-in-memory-web-api', // get latest
2022
'rxjs': 'https://npmcdn.com/[email protected]',
2123
'ts': 'https://npmcdn.com/[email protected]/lib/plugin.js',
@@ -36,7 +38,6 @@
3638
'http',
3739
'platform-browser',
3840
'platform-browser-dynamic',
39-
'router-deprecated',
4041
'upgrade',
4142
];
4243

@@ -62,6 +63,9 @@
6263
// Forms not on rc yet
6364
packages['@angular/forms'] = { main: 'index.js', defaultExtension: 'js' };
6465

66+
// Temporarily until we update the guides
67+
packages['@angular/router-deprecated'] = { main: '/bundles/router-deprecated' + '.umd.js', defaultExtension: 'js' };
68+
6569
var config = {
6670
// DEMO ONLY! REAL CODE SHOULD NOT TRANSPILE IN THE BROWSER
6771
transpiler: 'ts',

0 commit comments

Comments
 (0)