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

Commit ff4c85d

Browse files
Foxandxssfilipesilva
authored andcommitted
chore: update to Angular 2 RC5 (#175)
1 parent 27ef388 commit ff4c85d

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
lines changed

app/app.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { TestComponentBuilder } from '@angular/core/testing';
88
import { By } from '@angular/platform-browser';
99
import { provide } from '@angular/core';
1010
import { ViewMetadata } from '@angular/core';
11-
import { PromiseWrapper } from '@angular/core/src/facade/promise';
1211

1312
//////// SPECS /////////////
1413

app/app.module.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { NgModule } from '@angular/core';
2+
import { BrowserModule } from '@angular/platform-browser';
3+
4+
import { AppComponent } from './app.component';
5+
6+
@NgModule({
7+
imports: [ BrowserModule ],
8+
declarations: [ AppComponent ],
9+
bootstrap: [ AppComponent ]
10+
})
11+
export class AppModule { }

app/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { bootstrap } from '@angular/platform-browser-dynamic';
1+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
22

3-
import { AppComponent } from './app.component';
3+
import { AppModule } from './app.module';
44

5-
bootstrap(AppComponent);
5+
platformBrowserDynamic().bootstrapModule(AppModule);

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@
2222
"author": "",
2323
"license": "ISC",
2424
"dependencies": {
25-
"@angular/common": "2.0.0-rc.4",
26-
"@angular/compiler": "2.0.0-rc.4",
27-
"@angular/core": "2.0.0-rc.4",
28-
"@angular/forms": "0.2.0",
29-
"@angular/http": "2.0.0-rc.4",
30-
"@angular/platform-browser": "2.0.0-rc.4",
31-
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
32-
"@angular/router": "3.0.0-beta.2",
25+
"@angular/common": "2.0.0-rc.5",
26+
"@angular/compiler": "2.0.0-rc.5",
27+
"@angular/core": "2.0.0-rc.5",
28+
"@angular/forms": "0.3.0",
29+
"@angular/http": "2.0.0-rc.5",
30+
"@angular/platform-browser": "2.0.0-rc.5",
31+
"@angular/platform-browser-dynamic": "2.0.0-rc.5",
32+
"@angular/router": "3.0.0-rc.1",
3333
"@angular/router-deprecated": "2.0.0-rc.2",
34-
"@angular/upgrade": "2.0.0-rc.4",
34+
"@angular/upgrade": "2.0.0-rc.5",
3535

3636
"systemjs": "0.19.27",
3737
"core-js": "^2.4.0",
3838
"reflect-metadata": "^0.1.3",
3939
"rxjs": "5.0.0-beta.6",
4040
"zone.js": "^0.6.12",
4141

42-
"angular2-in-memory-web-api": "0.0.14",
42+
"angular2-in-memory-web-api": "0.0.15",
4343
"bootstrap": "^3.3.6"
4444
},
4545
"devDependencies": {

typings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"angular-protractor": "registry:dt/angular-protractor#1.5.0+20160425143459",
44
"core-js": "registry:dt/core-js#0.0.0+20160602141332",
55
"jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
6-
"node": "registry:dt/node#6.0.0+20160621231320",
6+
"node": "registry:dt/node#6.0.0+20160807145350",
77
"selenium-webdriver": "registry:dt/selenium-webdriver#2.44.0+20160317120654"
88
}
99
}

0 commit comments

Comments
 (0)