Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 05fdcbd

Browse files
committed
chore: update to RC0; no unit testing yet
1 parent 53a8221 commit 05fdcbd

File tree

5 files changed

+23
-24
lines changed

5 files changed

+23
-24
lines changed
File renamed without changes.

app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Component} from 'angular2/core';
1+
import {Component} from '@angular/core';
22

33
@Component({
44
selector: 'my-app',

app/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {bootstrap} from 'angular2/platform/browser';
1+
import {bootstrap} from '@angular/platform-browser-dynamic';
22
import {AppComponent} from './app.component';
33

44
bootstrap(AppComponent);

index.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
11
<html>
22
<head>
33
<title>Angular 2 QuickStart</title>
4+
<meta charset="UTF-8">
45
<meta name="viewport" content="width=device-width, initial-scale=1">
56
<link rel="stylesheet" href="styles.css">
6-
<!-- 1. Load libraries -->
7-
<!-- IE required polyfills, in this exact order -->
7+
8+
<!-- Polyfill(s) for older browsers -->
89
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
9-
<script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
1010

11-
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
11+
<script src="node_modules/zone.js/dist/zone.js"></script>
12+
<script src="node_modules/reflect-metadata/Reflect.js"></script>
1213
<script src="node_modules/systemjs/dist/system.src.js"></script>
13-
<script src="node_modules/rxjs/bundles/Rx.js"></script>
14-
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
15-
<!-- 2. Configure SystemJS -->
14+
15+
<script src="systemjs.config.js"></script>
1616
<script>
17-
System.config({
18-
packages: {
19-
app: {
20-
format: 'register',
21-
defaultExtension: 'js'
22-
}
23-
}
24-
});
25-
System.import('app/main')
26-
.then(null, console.error.bind(console));
17+
System.import('app').catch(function(err){ console.error(err); });
2718
</script>
2819
</head>
29-
<!-- 3. Display the application -->
20+
3021
<body>
3122
<my-app>Loading...</my-app>
3223
</body>

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,22 @@
2020
"author": "",
2121
"license": "ISC",
2222
"dependencies": {
23-
"angular2": "2.0.0-beta.17",
24-
"systemjs": "0.19.26",
23+
"@angular/common": "2.0.0-rc.0",
24+
"@angular/compiler": "2.0.0-rc.0",
25+
"@angular/core": "2.0.0-rc.0",
26+
"@angular/http": "2.0.0-rc.0",
27+
"@angular/platform-browser": "2.0.0-rc.0",
28+
"@angular/platform-browser-dynamic": "2.0.0-rc.0",
29+
"@angular/router-deprecated": "2.0.0-rc.0",
30+
"@angular/upgrade": "2.0.0-rc.0",
31+
32+
"systemjs": "0.19.27",
2533
"es6-shim": "^0.35.0",
26-
"reflect-metadata": "0.1.2",
34+
"reflect-metadata": "^0.1.3",
2735
"rxjs": "5.0.0-beta.6",
2836
"zone.js": "^0.6.12",
2937

30-
"a2-in-memory-web-api": "^0.1.17",
38+
"angular2-in-memory-web-api": "0.0.6",
3139
"bootstrap": "^3.3.6"
3240
},
3341
"devDependencies": {

0 commit comments

Comments
 (0)