Skip to content

Commit 9ec966d

Browse files
committed
Upgrade to angular beta-9
1 parent 06d632a commit 9ec966d

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

ng-sample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"homepage": "https://github.com/NativeScript/template-hello-world",
2525
"dependencies": {
2626
"tns-core-modules": "^1.7.0-angular-0",
27-
"angular2": "2.0.0-beta.7",
27+
"angular2": "2.0.0-beta.9",
2828
"parse5": "1.4.2",
2929
"punycode": "1.3.2",
3030
"querystring": "0.2.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {},
1616
"dependencies": {
1717
"tns-core-modules": "^1.7.0-angular-0",
18-
"angular2": "2.0.0-beta.7",
18+
"angular2": "2.0.0-beta.9",
1919
"es6-shim": "^0.33.3",
2020
"parse5": "1.4.2",
2121
"punycode": "1.3.2",

src/nativescript-angular/platform-providers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export const APP_ROOT_VIEW = new OpaqueToken('App Root View');
77
export const defaultPageProvider = provide(Page, {useFactory: getDefaultPage});
88

99
export function getDefaultPage(): Page {
10-
console.log('getDefaultPage');
11-
console.trace();
1210
const frame = topmost();
1311
if (frame) {
1412
return frame.currentPage;

src/nativescript-angular/router/page-router-outlet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {StringMapWrapper} from 'angular2/src/facade/collection';
55
import {Directive, Attribute, DynamicComponentLoader, ComponentRef, ElementRef,
66
Injector, provide, Type, Component, OpaqueToken, Inject} from 'angular2/core';
77

8-
import * as routerHooks from 'angular2/src/router/lifecycle_annotations';
9-
import {hasLifecycleHook} from 'angular2/src/router/route_lifecycle_reflector';
8+
import * as routerHooks from 'angular2/src/router/lifecycle/lifecycle_annotations';
9+
import {hasLifecycleHook} from 'angular2/src/router/lifecycle/route_lifecycle_reflector';
1010

1111
import {
1212
ComponentInstruction, RouteParams, RouteData,

tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"homepage": "http://nativescript.org",
3232
"dependencies": {
3333
"tns-core-modules": "^1.7.0-angular-0",
34-
"angular2": "2.0.0-beta.7",
34+
"angular2": "2.0.0-beta.9",
3535
"nativescript-unit-test-runner": "^0.3.3",
3636
"parse5": "1.4.2",
3737
"punycode": "1.3.2",
@@ -53,4 +53,4 @@
5353
"shelljs": "^0.5.3",
5454
"typescript": "1.8.2"
5555
}
56-
}
56+
}

0 commit comments

Comments
 (0)