Skip to content

Commit 13be5e3

Browse files
committed
fixed title, cleaned package.json, removed
1 parent 7c0a7a5 commit 13be5e3

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

angular-v2.0.0/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Angular v2.0.0-rc5</title>
4+
<title>Angular v2.0.0</title>
55
<meta charset="utf-8" />
66
<link href="../css/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="../css/main.css" rel="stylesheet" />

angular-v2.0.0/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@
2121
"@angular/platform-server": "^2.0.0",
2222
"core-js": "^2.4.1",
2323
"rxjs": "5.0.0-beta.12",
24-
"typescript": "2.0.2",
25-
"webpack": "^2.1.0-beta.22",
2624
"zone.js": "0.6.23"
2725
},
2826
"devDependencies": {
2927
"rollup": "^0.35.11",
3028
"rollup-plugin-commonjs": "^5.0.3",
3129
"rollup-plugin-node-resolve": "^2.0.0",
3230
"ts-loader": "^0.8.2",
33-
"typescript": "^1.8.10",
31+
"typescript": "2.0.2",
3432
"typings": "^1.3.3",
3533
"webpack": "^2.1.0-beta.22",
3634
"webpack-dev-server": "^1.15.0",

angular-v2.0.0/src/app.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ let stopMeasure = function() {
3232
<div class="jumbotron">
3333
<div class="row">
3434
<div class="col-md-6">
35-
<h1>Angular v2.0.0-rc5</h1>
35+
<h1>Angular v2.0.0</h1>
3636
</div>
3737
<div class="col-md-6">
3838
<div class="col-sm-6 smallpad">
39-
<button type="button" class="btn btn-primary btn-block" id="run" (click)="run($event)" ref="text">Create 1,000 rows</button>
39+
<button type="button" class="btn btn-primary btn-block" id="run" (click)="run()" ref="text">Create 1,000 rows</button>
4040
</div>
4141
<div class="col-sm-6 smallpad">
4242
<button type="button" class="btn btn-primary btn-block" id="runlots" (click)="runLots()">Create 10,000 rows</button>
4343
</div>
4444
<div class="col-sm-6 smallpad">
45-
<button type="button" class="btn btn-primary btn-block" id="add" (click)="add($event)" ref="text">Append 1,000 rows</button>
45+
<button type="button" class="btn btn-primary btn-block" id="add" (click)="add()" ref="text">Append 1,000 rows</button>
4646
</div>
4747
<div class="col-sm-6 smallpad">
48-
<button type="button" class="btn btn-primary btn-block" id="update" (click)="update($event)">Update every 10th row</button>
48+
<button type="button" class="btn btn-primary btn-block" id="update" (click)="update()">Update every 10th row</button>
4949
</div>
5050
<div class="col-sm-6 smallpad">
5151
<button type="button" class="btn btn-primary btn-block" id="clear" (click)="clear()">Clear</button>
@@ -118,17 +118,17 @@ export class App implements AfterViewChecked {
118118
}
119119
}
120120

121-
run(event: Event) {
121+
run() {
122122
startMeasure("run");
123123
this.data = this.buildData();
124124
}
125125

126-
add(event: Event) {
126+
add() {
127127
startMeasure("add");
128128
this.data = this.data.concat(this.buildData(1000));
129129
}
130130

131-
update(event: Event) {
131+
update() {
132132
startMeasure("update");
133133
for (let i=0;i<this.data.length;i+=10) {
134134
this.data[i].label += ' !!!';

0 commit comments

Comments
 (0)