Commit c15f1a74 authored by Ward Bell's avatar Ward Bell

chore: update to RC0; no unit testing yet

parent 53a82213
<a name="0.2.0"></a>
# 0.2.0 (2016-05-02)
* RC0 version
<a name="0.1.17"></a> <a name="0.1.17"></a>
# 0.1.17 (2016-04-29) # 0.1.17 (2016-04-29)
* update packages * update packages
......
import {Component} from 'angular2/core'; import {Component} from '@angular/core';
@Component({ @Component({
selector: 'my-app', selector: 'my-app',
......
import {bootstrap} from 'angular2/platform/browser'; import {bootstrap} from '@angular/platform-browser-dynamic';
import {AppComponent} from './app.component'; import {AppComponent} from './app.component';
bootstrap(AppComponent); bootstrap(AppComponent);
<html> <html>
<head> <head>
<title>Angular 2 QuickStart</title> <title>Angular 2 QuickStart</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
<!-- 1. Load libraries -->
<!-- IE required polyfills, in this exact order --> <!-- Polyfill(s) for older browsers -->
<script src="node_modules/es6-shim/es6-shim.min.js"></script> <script src="node_modules/es6-shim/es6-shim.min.js"></script>
<script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script> <script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script> <script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/rxjs/bundles/Rx.js"></script>
<script src="node_modules/angular2/bundles/angular2.dev.js"></script> <script src="systemjs.config.js"></script>
<!-- 2. Configure SystemJS -->
<script> <script>
System.config({ System.import('app').catch(function(err){ console.error(err); });
packages: {
app: {
format: 'register',
defaultExtension: 'js'
}
}
});
System.import('app/main')
.then(null, console.error.bind(console));
</script> </script>
</head> </head>
<!-- 3. Display the application -->
<body> <body>
<my-app>Loading...</my-app> <my-app>Loading...</my-app>
</body> </body>
......
...@@ -20,14 +20,22 @@ ...@@ -20,14 +20,22 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"angular2": "2.0.0-beta.17", "@angular/common": "2.0.0-rc.0",
"systemjs": "0.19.26", "@angular/compiler": "2.0.0-rc.0",
"@angular/core": "2.0.0-rc.0",
"@angular/http": "2.0.0-rc.0",
"@angular/platform-browser": "2.0.0-rc.0",
"@angular/platform-browser-dynamic": "2.0.0-rc.0",
"@angular/router-deprecated": "2.0.0-rc.0",
"@angular/upgrade": "2.0.0-rc.0",
"systemjs": "0.19.27",
"es6-shim": "^0.35.0", "es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2", "reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.6", "rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12", "zone.js": "^0.6.12",
"a2-in-memory-web-api": "^0.1.17", "angular2-in-memory-web-api": "0.0.6",
"bootstrap": "^3.3.6" "bootstrap": "^3.3.6"
}, },
"devDependencies": { "devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment