Skip to content

Commit c12c489

Browse files
committed
Upgrade to Angular 2.0.2
Use ~2.0.0 dependencies, hoping we won't have to release updates for every new minor Angular release.
1 parent 30fde9f commit c12c489

File tree

6 files changed

+267
-312
lines changed

6 files changed

+267
-312
lines changed

nativescript-angular/dom-adapter.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ export class NativeScriptElementSchemaRegistry extends ElementSchemaRegistry {
3535
securityContext(tagName: string, propName: string): any {
3636
return SecurityContext.NONE;
3737
}
38+
39+
validateProperty(name: string): {error: boolean, msg?: string} {
40+
return {error: false};
41+
}
42+
43+
validateAttribute(name: string): {error: boolean, msg?: string} {
44+
return {error: false};
45+
}
3846
}
3947

4048
export class NativeScriptSanitizer extends Sanitizer {

nativescript-angular/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,17 @@
1818
"prepublish": "tsc"
1919
},
2020
"dependencies": {
21-
"nativescript-intl": "^0.0.4",
22-
"@angular/core": "2.0.1",
23-
"@angular/common": "2.0.1",
24-
"@angular/compiler": "2.0.1",
25-
"@angular/http": "2.0.1",
26-
"@angular/platform-browser": "2.0.1",
27-
"@angular/platform-browser-dynamic": "2.0.1",
28-
"@angular/platform-server": "2.0.1",
29-
"@angular/forms": "2.0.1",
30-
"@angular/router": "3.0.1",
21+
"nativescript-intl": "~0.0.4",
22+
"@angular/core": "~2.0.0",
23+
"@angular/common": "~2.0.0",
24+
"@angular/compiler": "~2.0.0",
25+
"@angular/http": "~2.0.0",
26+
"@angular/platform-browser": "~2.0.0",
27+
"@angular/platform-browser-dynamic": "~2.0.0",
28+
"@angular/forms": "~2.0.0",
29+
"@angular/router": "~3.0.0",
3130
"rxjs": "5.0.0-beta.12",
32-
"reflect-metadata": "^0.1.8",
31+
"reflect-metadata": "~0.1.8",
3332
"parse5": "1.3.2",
3433
"punycode": "1.3.2",
3534
"querystring": "0.2.0",

0 commit comments

Comments
 (0)