From 1ef034359ff9074a1ab83eff179f4a6e4b2d8d02 Mon Sep 17 00:00:00 2001
From: mgechev
Date: Thu, 25 Jun 2015 16:02:58 +0300
Subject: [PATCH 0001/1480] Update angular to alpha28
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 59d7592d4..dca04bc94 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"typescript": "~1.5.0-beta"
},
"dependencies": {
- "angular2": "2.0.0-alpha.27",
+ "angular2": "2.0.0-alpha.28",
"es6-module-loader": "^0.15.0",
"systemjs": "^0.16.0",
"zone.js": "^0.4.1",
From ceb71ae5ce35d0b09de1a06f3feee8a2e73287be Mon Sep 17 00:00:00 2001
From: Robert Penner
Date: Thu, 25 Jun 2015 23:34:38 +0545
Subject: [PATCH 0002/1480] Simplify About component code
---
app/components/about/about.html | 2 +-
app/components/about/about.ts | 7 +------
app/services/NameList.ts | 8 +++-----
3 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/app/components/about/about.html b/app/components/about/about.html
index 54dcfbfdc..d43860e5e 100644
--- a/app/components/about/about.html
+++ b/app/components/about/about.html
@@ -10,5 +10,5 @@
diff --git a/app/components/about/about.ts b/app/components/about/about.ts
index b580feb93..253678c90 100644
--- a/app/components/about/about.ts
+++ b/app/components/about/about.ts
@@ -11,12 +11,7 @@ import {NamesList} from '../../services/NameList';
directives: [NgFor]
})
export class About {
- names: Array;
- list: NamesList;
-
- constructor(list: NamesList) {
- this.list = list;
- this.names = list.get();
+ constructor(public list: NamesList) {
}
addName(newname) {
this.list.add(newname.value);
diff --git a/app/services/NameList.ts b/app/services/NameList.ts
index 9ebb50750..01a985ed6 100644
--- a/app/services/NameList.ts
+++ b/app/services/NameList.ts
@@ -1,12 +1,10 @@
export class NamesList {
- names: Array;
- constructor() {
- this.names = ['Dijkstra', 'Knuth', 'Turing', 'Hopper'];
- }
+ names = ['Dijkstra', 'Knuth', 'Turing', 'Hopper'];
+
get() {
return this.names;
}
- add(value) {
+ add(value: string) {
this.names.push(value);
}
}
From 590bc3c76600b08b816775141107f43523e2dd9d Mon Sep 17 00:00:00 2001
From: mgechev
Date: Fri, 26 Jun 2015 18:07:56 +0300
Subject: [PATCH 0003/1480] Update part2
---
README.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index fd9258115..97c8c20c1 100644
--- a/README.md
+++ b/README.md
@@ -62,10 +62,9 @@ Add reference to the installed library in `PATH.src.lib`.
# Contributors
-[
](https://github.com/mgechev) |[
](https://github.com/ludohenin) |[
](https://github.com/jgolla) |
-:---: |:---: |:---: |
-[mgechev](https://github.com/mgechev) |[ludohenin](https://github.com/ludohenin) |[jgolla](https://github.com/jgolla) |
-
+[
](https://github.com/mgechev) |[
](https://github.com/ludohenin) |[
](https://github.com/robertpenner) |[
](https://github.com/jgolla) |
+:---: |:---: |:---: |:---: |
+[mgechev](https://github.com/mgechev) |[ludohenin](https://github.com/ludohenin) |[robertpenner](https://github.com/robertpenner) |[jgolla](https://github.com/jgolla) |
# Change Log
You can follow the [Angular 2 change log here](https://github.com/angular/angular/blob/master/CHANGELOG.md).
From 60d891fe5128afc23a5f97c1c2647c4432c0904d Mon Sep 17 00:00:00 2001
From: ludohenin
Date: Sat, 27 Jun 2015 14:59:59 +0200
Subject: [PATCH 0004/1480] Fix #24
---
README.md | 5 +++++
app/index.html | 3 ++-
app/init.ts | 3 ++-
gulpfile.js | 18 +++++++++++++-----
4 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 97c8c20c1..49e9c3cda 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,11 @@ gulp serve.prod
└── tsd.json
```
+# Configuration
+
+Configure your app base if you serve the app from another directory than root in `gulpfile.js`.
+Defaults to `var APP_BASE = '/'`
+
# Now to extend?
If you want to use your custom libraries:
diff --git a/app/index.html b/app/index.html
index 597316ea3..fd6844751 100644
--- a/app/index.html
+++ b/app/index.html
@@ -3,6 +3,7 @@
+
My Angular 2 App
@@ -16,7 +17,7 @@
-
+