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

Commit e9cf2a5

Browse files
filipesilvanaomiblack
authored andcommitted
chore: update to rc2
1 parent cd970c2 commit e9cf2a5

File tree

15 files changed

+67
-67
lines changed

15 files changed

+67
-67
lines changed

public/docs/_examples/cb-ts-to-js/js/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<script src="node_modules/reflect-metadata/Reflect.js"></script>
1212

1313
<script src="node_modules/rxjs/bundles/Rx.umd.js"></script>
14-
<script src="node_modules/@angular/core/core.umd.js"></script>
15-
<script src="node_modules/@angular/common/common.umd.js"></script>
16-
<script src="node_modules/@angular/compiler/compiler.umd.js"></script>
17-
<script src="node_modules/@angular/platform-browser/platform-browser.umd.js"></script>
18-
<script src="node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js"></script>
19-
<script src="node_modules/@angular/router-deprecated/router-deprecated.umd.js"></script>
14+
<script src="node_modules/@angular/core/bundles/core.umd.js"></script>
15+
<script src="node_modules/@angular/common/bundles/common.umd.js"></script>
16+
<script src="node_modules/@angular/compiler/bundles/compiler.umd.js"></script>
17+
<script src="node_modules/@angular/platform-browser/bundles/platform-browser.umd.js"></script>
18+
<script src="node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"></script>
19+
<script src="node_modules/@angular/router-deprecated/bundles/router-deprecated.umd.js"></script>
2020

2121
<script src="app/data.service.js"></script>
2222
<script src="app/hero.component.js"></script>

public/docs/_examples/forms/js/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
<script src="node_modules/reflect-metadata/Reflect.js"></script>
2222

2323
<script src="node_modules/rxjs/bundles/Rx.umd.js"></script>
24-
<script src="node_modules/@angular/core/core.umd.js"></script>
25-
<script src="node_modules/@angular/common/common.umd.js"></script>
26-
<script src="node_modules/@angular/compiler/compiler.umd.js"></script>
27-
<script src="node_modules/@angular/platform-browser/platform-browser.umd.js"></script>
28-
<script src="node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js"></script>
24+
<script src="node_modules/@angular/core/bundles/core.umd.js"></script>
25+
<script src="node_modules/@angular/common/bundles/common.umd.js"></script>
26+
<script src="node_modules/@angular/compiler/bundles/compiler.umd.js"></script>
27+
<script src="node_modules/@angular/platform-browser/bundles/platform-browser.umd.js"></script>
28+
<script src="node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"></script>
2929

3030
<!-- #docregion scripts-hero, scripts-hero-form -->
3131
<script src='app/hero.js'></script>

public/docs/_examples/lifecycle-hooks/e2e-spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ describe('Lifecycle hooks', function () {
7474
expect(titleEle.getText()).toContain('Windstorm-foo- can sing');
7575
return changeLogEles.count();
7676
}).then(function (count) {
77-
// two more for each keystroke except the 1st
78-
expect(count).toEqual(logCount + 9, 'should add 9 more messages');
77+
// one more for each keystroke
78+
expect(count).toEqual(logCount + 5, 'should add 5 more messages');
7979
logCount = count;
8080
// return powerInputEle.sendKeys('-bar-');
8181
return sendKeys(powerInputEle, '-bar-');
8282
}).then(function () {
8383
expect(titleEle.getText()).toContain('Windstorm-foo- can sing-bar-');
8484
// 7 == 2 previously + length of '-bar-'
85-
expect(changeLogEles.count()).toEqual(logCount + 15, 'should add 15 more messages');
85+
expect(changeLogEles.count()).toEqual(logCount + 11, 'should add 11 more messages');
8686
});
8787
});
8888

@@ -106,7 +106,7 @@ describe('Lifecycle hooks', function () {
106106
expect(commentEle.getText()).toContain('long name');
107107
return logEles.count();
108108
}).then(function(count) {
109-
expect(logCount + 10).toEqual(count, '10 additional log messages should have been added');
109+
expect(logCount + 6).toEqual(count, '6 additional log messages should have been added');
110110
logCount = count;
111111
return buttonEle.click();
112112
}).then(function() {
@@ -135,7 +135,7 @@ describe('Lifecycle hooks', function () {
135135
expect(commentEle.getText()).toContain('long name');
136136
return logEles.count();
137137
}).then(function(count) {
138-
expect(logCount + 10).toEqual(count, '10 additional log messages should have been added');
138+
expect(logCount + 5).toEqual(count, '5 additional log messages should have been added');
139139
logCount = count;
140140
return buttonEle.click();
141141
}).then(function() {

public/docs/_examples/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@
2525
"author": "",
2626
"license": "ISC",
2727
"dependencies": {
28-
"@angular/common": "2.0.0-rc.1",
29-
"@angular/compiler": "2.0.0-rc.1",
30-
"@angular/core": "2.0.0-rc.1",
31-
"@angular/http": "2.0.0-rc.1",
32-
"@angular/platform-browser": "2.0.0-rc.1",
33-
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
34-
"@angular/router": "2.0.0-rc.1",
35-
"@angular/router-deprecated": "2.0.0-rc.1",
36-
"@angular/upgrade": "2.0.0-rc.1",
37-
"systemjs": "0.19.27",
28+
"@angular/common": "2.0.0-rc.2",
29+
"@angular/compiler": "2.0.0-rc.2",
30+
"@angular/core": "2.0.0-rc.2",
31+
"@angular/http": "2.0.0-rc.2",
32+
"@angular/platform-browser": "2.0.0-rc.2",
33+
"@angular/platform-browser-dynamic": "2.0.0-rc.2",
34+
"@angular/router": "2.0.0-rc.2",
35+
"@angular/router-deprecated": "2.0.0-rc.2",
36+
"@angular/upgrade": "2.0.0-rc.2",
37+
"angular2-in-memory-web-api": "0.0.11",
38+
"bootstrap": "^3.3.6",
3839
"core-js": "^2.4.0",
3940
"reflect-metadata": "^0.1.3",
4041
"rxjs": "5.0.0-beta.6",
41-
"zone.js": "^0.6.12",
42-
"angular2-in-memory-web-api": "0.0.11",
43-
"bootstrap": "^3.3.6"
42+
"systemjs": "0.19.27",
43+
"zone.js": "^0.6.12"
4444
},
4545
"devDependencies": {
4646
"angular-cli": "^1.0.0-beta.5",

public/docs/_examples/quickstart/js/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<script src="node_modules/reflect-metadata/Reflect.js"></script>
1818

1919
<script src="node_modules/rxjs/bundles/Rx.umd.js"></script>
20-
<script src="node_modules/@angular/core/core.umd.js"></script>
21-
<script src="node_modules/@angular/common/common.umd.js"></script>
22-
<script src="node_modules/@angular/compiler/compiler.umd.js"></script>
23-
<script src="node_modules/@angular/platform-browser/platform-browser.umd.js"></script>
24-
<script src="node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js"></script>
20+
<script src="node_modules/@angular/core/bundles/core.umd.js"></script>
21+
<script src="node_modules/@angular/common/bundles/common.umd.js"></script>
22+
<script src="node_modules/@angular/compiler/bundles/compiler.umd.js"></script>
23+
<script src="node_modules/@angular/platform-browser/bundles/platform-browser.umd.js"></script>
24+
<script src="node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"></script>
2525
<!-- #enddocregion libraries -->
2626

2727
<!-- 2. Load our 'modules' -->

public/docs/_examples/quickstart/js/package.1.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
},
88
"license": "ISC",
99
"dependencies": {
10-
"@angular/common": "2.0.0-rc.1",
11-
"@angular/compiler": "2.0.0-rc.1",
12-
"@angular/core": "2.0.0-rc.1",
13-
"@angular/http": "2.0.0-rc.1",
14-
"@angular/platform-browser": "2.0.0-rc.1",
15-
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
16-
"@angular/router": "2.0.0-rc.1",
17-
"@angular/router-deprecated": "2.0.0-rc.1",
18-
"@angular/upgrade": "2.0.0-rc.1",
10+
"@angular/common": "2.0.0-rc.2",
11+
"@angular/compiler": "2.0.0-rc.2",
12+
"@angular/core": "2.0.0-rc.2",
13+
"@angular/http": "2.0.0-rc.2",
14+
"@angular/platform-browser": "2.0.0-rc.2",
15+
"@angular/platform-browser-dynamic": "2.0.0-rc.2",
16+
"@angular/router": "2.0.0-rc.2",
17+
"@angular/router-deprecated": "2.0.0-rc.2",
18+
"@angular/upgrade": "2.0.0-rc.2",
1919

2020
"core-js": "^2.4.0",
2121
"reflect-metadata": "0.1.3",

public/docs/_examples/quickstart/ts/package.1.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
},
1212
"license": "ISC",
1313
"dependencies": {
14-
"@angular/common": "2.0.0-rc.1",
15-
"@angular/compiler": "2.0.0-rc.1",
16-
"@angular/core": "2.0.0-rc.1",
17-
"@angular/http": "2.0.0-rc.1",
18-
"@angular/platform-browser": "2.0.0-rc.1",
19-
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
20-
"@angular/router": "2.0.0-rc.1",
21-
"@angular/router-deprecated": "2.0.0-rc.1",
22-
"@angular/upgrade": "2.0.0-rc.1",
14+
"@angular/common": "2.0.0-rc.2",
15+
"@angular/compiler": "2.0.0-rc.2",
16+
"@angular/core": "2.0.0-rc.2",
17+
"@angular/http": "2.0.0-rc.2",
18+
"@angular/platform-browser": "2.0.0-rc.2",
19+
"@angular/platform-browser-dynamic": "2.0.0-rc.2",
20+
"@angular/router": "2.0.0-rc.2",
21+
"@angular/router-deprecated": "2.0.0-rc.2",
22+
"@angular/upgrade": "2.0.0-rc.2",
2323

2424
"systemjs": "0.19.27",
2525
"core-js": "^2.4.0",

public/docs/_examples/styleguide/js/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<script src="node_modules/reflect-metadata/Reflect.js"></script>
1212

1313
<script src="node_modules/rxjs/bundles/Rx.umd.js"></script>
14-
<script src="node_modules/@angular/core/core.umd.js"></script>
15-
<script src="node_modules/@angular/common/common.umd.js"></script>
16-
<script src="node_modules/@angular/compiler/compiler.umd.js"></script>
17-
<script src="node_modules/@angular/platform-browser/platform-browser.umd.js"></script>
18-
<script src="node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js"></script>
14+
<script src="node_modules/@angular/core/bundles/core.umd.js"></script>
15+
<script src="node_modules/@angular/common/bundles/common.umd.js"></script>
16+
<script src="node_modules/@angular/compiler/bundles/compiler.umd.js"></script>
17+
<script src="node_modules/@angular/platform-browser/bundles/platform-browser.umd.js"></script>
18+
<script src="node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js"></script>
1919

2020
<script src='app.js'></script>
2121
</head>

public/docs/_examples/systemjs.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
// Bundled (~40 requests):
4141
function packUmd(pkgName) {
42-
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
42+
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
4343
}
4444

4545
// Most environments should use UMD; some (Karma) need the individual index files

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
(function(global) {
77

8-
var ngVer = '@2.0.0-rc.1'; // lock in the angular package version; do not let it float to current!
8+
var ngVer = '@2.0.0-rc.2'; // lock in the angular package version; do not let it float to current!
99

1010
//map tells the System loader where to look for things
1111
var map = {
@@ -47,7 +47,7 @@
4747
ngPackageNames.forEach(function(pkgName) {
4848

4949
// Bundled (~40 requests):
50-
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
50+
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
5151

5252
// Individual files (~300 requests):
5353
//packages['@angular/'+pkgName] = { main: 'index.js', defaultExtension: 'js' };

public/docs/_examples/template-syntax/ts/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ <h4 id="ngFor-trackBy">NgForTrackBy</h4>
585585
</div>
586586

587587
<p>with trackBy and <i>space</i> separator</p>
588-
<div #withTrackBy class="box">
588+
<div class="box">
589589
<div *ngFor="let hero of heroes trackBy:trackByHeroes">({{hero.id}}) {{hero.fullName}}</div>
590590
</div>
591591

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/systemjs.config.1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040

4141
// Bundled (~40 requests):
4242
function packUmd(pkgName) {
43-
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
44-
};
43+
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
44+
}
4545

4646
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
4747

public/docs/_examples/upgrade-phonecat-3-final/ts/systemjs.config.1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040

4141
// Bundled (~40 requests):
4242
function packUmd(pkgName) {
43-
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
44-
};
43+
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
44+
}
4545

4646
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
4747

public/docs/js/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"icon": "home",
44
"title": "Angular Docs",
55
"menuTitle": "Docs Home",
6-
"banner": "Welcome to <b>Angular in JavaScript</b>! The current Angular 2 release is <b>rc.1</b>. Please consult the <a href='https://github.com/angular/angular/blob/master/CHANGELOG.md' target='_blank'> Change Log</a> about recent enhancements, fixes, and breaking changes."
6+
"banner": "Welcome to <b>Angular in JavaScript</b>! The current Angular 2 release is <b>rc.2</b>. Please consult the <a href='https://github.com/angular/angular/blob/master/CHANGELOG.md' target='_blank'> Change Log</a> about recent enhancements, fixes, and breaking changes."
77
},
88

99
"quickstart": {

public/docs/ts/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"icon": "home",
44
"title": "Angular Docs",
55
"menuTitle": "Docs Home",
6-
"banner": "Welcome to <b>Angular in TypeScript</b>! The current Angular 2 release is <b>rc.1</b>. Please consult the <a href='https://github.com/angular/angular/blob/master/CHANGELOG.md' target='_blank'> Change Log</a> about recent enhancements, fixes, and breaking changes."
6+
"banner": "Welcome to <b>Angular in TypeScript</b>! The current Angular 2 release is <b>rc.2</b>. Please consult the <a href='https://github.com/angular/angular/blob/master/CHANGELOG.md' target='_blank'> Change Log</a> about recent enhancements, fixes, and breaking changes."
77
},
88

99
"cli-quickstart": {

0 commit comments

Comments
 (0)