This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
var ngVer = '@2.0.0-rc.3' ; // lock in the angular package version; do not let it float to current!
9
9
var routerVer = '@3.0.0-alpha.7' ; // lock router version
10
10
var formsVer = '@0.1.1' ; // lock forms version
11
+ var routerDeprecatedVer = '@2.0.0-rc.2' ; // temporarily until we update all the guides
11
12
12
13
//map tells the System loader where to look for things
13
14
var map = {
16
17
'@angular' : 'https://npmcdn.com/@angular' , // sufficient if we didn't pin the version
17
18
'@angular/router' : 'https://npmcdn.com/@angular/router' + routerVer ,
18
19
'@angular/forms' : 'https://npmcdn.com/@angular/forms' + formsVer ,
20
+ '@angular/router-deprecated' : 'https://npmcdn.com/@angular/router-deprecated' + routerDeprecatedVer ,
19
21
'angular2-in-memory-web-api' : 'https://npmcdn.com/angular2-in-memory-web-api' , // get latest
20
22
'rxjs' :
'https://npmcdn.com/[email protected] ' ,
21
23
'ts' :
'https://npmcdn.com/[email protected] /lib/plugin.js' ,
36
38
'http' ,
37
39
'platform-browser' ,
38
40
'platform-browser-dynamic' ,
39
- 'router-deprecated' ,
40
41
'upgrade' ,
41
42
] ;
42
43
62
63
// Forms not on rc yet
63
64
packages [ '@angular/forms' ] = { main : 'index.js' , defaultExtension : 'js' } ;
64
65
66
+ // Temporarily until we update the guides
67
+ packages [ '@angular/router-deprecated' ] = { main : '/bundles/router-deprecated' + '.umd.js' , defaultExtension : 'js' } ;
68
+
65
69
var config = {
66
70
// DEMO ONLY! REAL CODE SHOULD NOT TRANSPILE IN THE BROWSER
67
71
transpiler : 'ts' ,
You can’t perform that action at this time.
0 commit comments