File tree 3 files changed +13
-14
lines changed
3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -62,25 +62,27 @@ module.exports = function(grunt) {
62
62
] ,
63
63
dest : 'src'
64
64
} ,
65
- tnsifyAngular : {
65
+ tnsifyAngularAndroid : {
66
66
expand : true ,
67
67
cwd : 'app/' ,
68
68
src : [
69
69
"angular2/**/*" ,
70
70
"css/**/*" ,
71
71
"nativescript-angular/**/*" ,
72
72
] ,
73
- dest : 'node_modules' ,
73
+ dest : 'platforms/android/src/main/assets/app/tns_modules' ,
74
+ //dest: 'node_modules',
74
75
} ,
75
- tnsifyCssStub : {
76
+ tnsifyCssStubAndroid : {
76
77
expand : true ,
77
78
cwd : 'app/' ,
78
79
src : [
79
80
"css/**/*" ,
80
81
] ,
81
- dest : 'node_modules/tns-core-modules' ,
82
+ dest : 'platforms/android/src/main/assets/app/tns_modules' ,
83
+ //dest: 'node_modules',
82
84
} ,
83
- tnsifyRxJsAngular : {
85
+ tnsifyRxJsAndroid : {
84
86
expand : true ,
85
87
cwd : 'node_modules/' ,
86
88
src : [
@@ -175,11 +177,11 @@ module.exports = function(grunt) {
175
177
} ) ;
176
178
177
179
grunt . registerTask ( "preDeploy" , [
178
- "copy:tnsifyAngular " ,
180
+ "copy:tnsifyAngularAndroid " ,
179
181
"fixAngularPackageJson" ,
180
- "copy:tnsifyCssStub " ,
181
- "copy:tnsifyRxJsAngular " ,
182
- "clean:appBeforeDeploy" ,
182
+ "copy:tnsifyCssStubAndroid " ,
183
+ "copy:tnsifyRxJsAndroid " ,
184
+ // "clean:appBeforeDeploy",
183
185
] ) ;
184
186
185
187
grunt . registerTask ( "full-clean" , [
Original file line number Diff line number Diff line change 43
43
"nativescript" : {
44
44
"id" : " org.nativescript.ngsample" ,
45
45
"tns-android" : {
46
- "version" : " 1.3 .0"
46
+ "version" : " 1.4 .0"
47
47
}
48
48
}
49
49
}
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ import {LifeCycle} from 'angular2/src/core/life_cycle/life_cycle';
9
9
var lifeCycle : LifeCycle = null ;
10
10
11
11
@Component ( {
12
- selector : 'main-page' ,
13
- hostAttributes : {
14
- }
12
+ selector : 'main-page'
15
13
} )
16
14
@View ( {
17
15
directives : [ NgIf , NgFor ] ,
@@ -54,7 +52,6 @@ class MainPage {
54
52
onSave ( $event , name , $el ) {
55
53
console . log ( 'onSave event ' + $event + ' name ' + name ) ;
56
54
alert ( name ) ;
57
- $el . printTree ( ) ;
58
55
}
59
56
60
57
onToggleDetails ( ) {
You can’t perform that action at this time.
0 commit comments