File tree 11 files changed +25
-11
lines changed
11 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 9
9
/nativescript-angular /** /* .d.ts
10
10
/nativescript-angular /** /* .js
11
11
12
+ ! /nativescript-angular /iterable.d.ts
12
13
! /nativescript-angular /global.d.ts
13
14
! /nativescript-angular /postinstall.js
14
15
! /nativescript-angular /hooks /** /* .js
@@ -52,4 +53,4 @@ startup-test/node_modules
52
53
! .vscode /settings.json
53
54
! .vscode /tasks.json
54
55
! .vscode /launch.json
55
- ! .vscode /extensions.json
56
+ ! .vscode /extensions.json
Original file line number Diff line number Diff line change 5
5
6
6
* .js.map
7
7
8
- tsconfig.json
9
8
global.d.ts
9
+ tsconfig.json
10
10
.npmignore
11
11
gulpfile.js
12
12
tslint.json
Original file line number Diff line number Diff line change
1
+ declare interface Iterable < T > { }
Original file line number Diff line number Diff line change
1
+ /// <reference path="./iterable.d.ts" />
2
+
1
3
import "globals" ;
2
4
import "./zone-js/dist/zone-nativescript" ;
3
5
Original file line number Diff line number Diff line change 14
14
"noUnusedLocals" : true ,
15
15
"noUnusedParameters" : true ,
16
16
"noImplicitAny" : false
17
- },
17
+ },
18
18
"angularCompilerOptions" : {
19
19
"genDir" : " ." ,
20
20
"skipMetadataEmit" : false ,
Original file line number Diff line number Diff line change @@ -210,7 +210,8 @@ export class ViewUtil {
210
210
211
211
let index = 0 ;
212
212
let found = false ;
213
- parent . eachChild ( child => {
213
+
214
+ parent . _eachLayoutView ( child => {
214
215
if ( child === node ) {
215
216
found = true ;
216
217
}
Original file line number Diff line number Diff line change 23
23
},
24
24
"homepage" : " https://github.com/NativeScript/template-hello-world" ,
25
25
"dependencies" : {
26
- "tns-core-modules" : " ~2.5.0" ,
27
26
"@angular/common" : " 4.0.0-rc.3" ,
28
27
"@angular/compiler" : " 4.0.0-rc.3" ,
29
28
"@angular/core" : " 4.0.0-rc.3" ,
33
32
"@angular/platform-browser-dynamic" : " 4.0.0-rc.3" ,
34
33
"@angular/router" : " 4.0.0-rc.3" ,
35
34
"nativescript-angular" : " file:../nativescript-angular" ,
36
- "rxjs" : " ~5.0.1"
35
+ "rxjs" : " ~5.0.1" ,
36
+ "tns-core-modules" : " ~2.5.0"
37
37
},
38
38
"devDependencies" : {
39
39
"zone.js" : " ~0.7.2" ,
50
50
"nativescript" : {
51
51
"id" : " org.nativescript.ngsample" ,
52
52
"tns-android" : {
53
- "version" : " 2.4.1 "
53
+ "version" : " 2.5.0 "
54
54
},
55
55
"tns-ios" : {
56
56
"version" : " 2.4.0"
Original file line number Diff line number Diff line change 15
15
" node_modules" ,
16
16
" platforms"
17
17
]
18
- }
18
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "nativescript" : {
3
+ "id" : " org.nativescript.ngtests" ,
4
+ "tns-android" : {
5
+ "version" : " 2.5.0"
6
+ },
7
+ "tns-ios" : {
8
+ "version" : " 2.5.0"
9
+ }
1
10
},
2
11
"name" : " ngtests" ,
3
12
"main" : " app.js" ,
48
57
"nativescript-dev-typescript" : " ^0.3.1" ,
49
58
"socket.io" : " 1.4.8" ,
50
59
"socket.io-client" : " 1.4.8" ,
51
- "typescript" : " ~2.2 .0" ,
60
+ "typescript" : " ~2.1 .0" ,
52
61
"wd" : " 0.4.0" ,
53
62
"zone.js" : " ^0.7.2"
54
63
},
Original file line number Diff line number Diff line change
1
+ /// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
Original file line number Diff line number Diff line change 4
4
"target" : " es5" ,
5
5
"experimentalDecorators" : true ,
6
6
"emitDecoratorMetadata" : true ,
7
- "sourceMap" : false ,
8
7
"noEmitHelpers" : true ,
9
8
"noEmitOnError" : true
10
9
},
13
12
" platforms" ,
14
13
" **/*.aot"
15
14
]
16
- }
15
+ }
You can’t perform that action at this time.
0 commit comments