Skip to content

Commit 7b57827

Browse files
author
vakrilov
committed
webpack fixes
1 parent 68a35da commit 7b57827

File tree

4 files changed

+61
-63
lines changed

4 files changed

+61
-63
lines changed

Diff for: ng-sample/app/app.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import "globals";
2-
import "./modules";
3-
2+
// import "./modules";
43
global.registerModule("./main-page", function () { return require("./main-page"); });
54

65
import * as profiling from "./profiling";

Diff for: ng-sample/app/package.json

+24-23
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
{
2-
"name": "tns-template-hello-world",
3-
"version": "1.2.0",
4-
"author": "Telerik <[email protected]>",
5-
"description": "Nativescript hello-world project template",
6-
"license": "BSD",
7-
"keywords": [
8-
"telerik",
9-
"mobile",
10-
"nativescript",
11-
"{N}",
12-
"tns",
13-
"appbuilder",
14-
"template"
15-
],
16-
"repository": {
17-
"type": "git",
18-
"url": "git://github.com/NativeScript/template-hello-world.git"
19-
},
20-
"bugs": {
21-
"url": "https://github.com/NativeScript/template-hello-world/issues"
22-
},
23-
"homepage": "https://github.com/NativeScript/template-hello-world"
24-
}
2+
"name": "tns-template-hello-world",
3+
"main": "app.js",
4+
"version": "1.2.0",
5+
"author": "Telerik <[email protected]>",
6+
"description": "Nativescript hello-world project template",
7+
"license": "BSD",
8+
"keywords": [
9+
"telerik",
10+
"mobile",
11+
"nativescript",
12+
"{N}",
13+
"tns",
14+
"appbuilder",
15+
"template"
16+
],
17+
"repository": {
18+
"type": "git",
19+
"url": "git://github.com/NativeScript/template-hello-world.git"
20+
},
21+
"bugs": {
22+
"url": "https://github.com/NativeScript/template-hello-world/issues"
23+
},
24+
"homepage": "https://github.com/NativeScript/template-hello-world"
25+
}

Diff for: ng-sample/tsconfig.json

+36-37
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11
{
2-
"compilerOptions": {
3-
"outDir": "app",
4-
"rootDir": "app",
5-
"module": "commonjs",
6-
"target": "es5",
7-
"inlineSourceMap": true,
8-
"experimentalDecorators": true,
9-
"removeComments": false,
10-
"emitDecoratorMetadata": true,
11-
"noEmitOnError": true
12-
},
13-
"files": [
14-
"app/app.ts",
15-
"app/benchmark.ts",
16-
"app/global.d.ts",
17-
"app/main-page.ts",
18-
"app/main-view-model.ts",
19-
"app/modules.ts",
20-
"app/nativescript-angular/application.d.ts",
21-
"app/nativescript-angular/application.ts",
22-
"app/nativescript-angular/dom_adapter.ts",
23-
"app/nativescript-angular/element-registry.d.ts",
24-
"app/nativescript-angular/element-registry.ts",
25-
"app/nativescript-angular/polyfills/array.ts",
26-
"app/nativescript-angular/renderer.ts",
27-
"app/nativescript-angular/view_node.ts",
28-
"app/nativescript-angular/xhr.ts",
29-
"app/nativescript-angular/zone.ts",
30-
"app/nativescript-angular/zone_patch.ts",
31-
"app/profiling.ts",
32-
"app/renderer-test.ts",
33-
"node_modules/tns-core-modules/tns-core-modules.d.ts"
34-
],
35-
"filesGlob": [
36-
"node_modules/tns-core-modules/tns-core-modules.d.ts",
37-
"app/**/*.ts"
38-
]
2+
"compilerOptions": {
3+
"outDir": "app",
4+
"rootDir": "app",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"inlineSourceMap": true,
8+
"experimentalDecorators": true,
9+
"removeComments": false,
10+
"emitDecoratorMetadata": true,
11+
"noEmitOnError": true
12+
},
13+
"files": [
14+
"app/app.ts",
15+
"app/benchmark.ts",
16+
"app/global.d.ts",
17+
"app/main-page.ts",
18+
"app/main-view-model.ts",
19+
"app/nativescript-angular/application.d.ts",
20+
"app/nativescript-angular/application.ts",
21+
"app/nativescript-angular/dom_adapter.ts",
22+
"app/nativescript-angular/element-registry.d.ts",
23+
"app/nativescript-angular/element-registry.ts",
24+
"app/nativescript-angular/polyfills/array.ts",
25+
"app/nativescript-angular/renderer.ts",
26+
"app/nativescript-angular/view_node.ts",
27+
"app/nativescript-angular/xhr.ts",
28+
"app/nativescript-angular/zone.ts",
29+
"app/nativescript-angular/zone_patch.ts",
30+
"app/profiling.ts",
31+
"app/renderer-test.ts",
32+
"node_modules/tns-core-modules/tns-core-modules.d.ts"
33+
],
34+
"filesGlob": [
35+
"node_modules/tns-core-modules/tns-core-modules.d.ts",
36+
"app/**/*.ts"
37+
]
3938
}

Diff for: src/nativescript-angular/view_node.ts

-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export class ViewNode {
159159
}
160160
}
161161

162-
163162
private static propertyMaps: Map<Function, Map<string, string>> = new Map<Function, Map<string, string>>();
164163

165164
private static getProperties(instance: any): Map<string, string> {

0 commit comments

Comments
 (0)