File tree 7 files changed +17
-13
lines changed
7 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import {
4
4
AnimationDriver ,
5
5
ɵAnimationEngine as AnimationEngine ,
6
6
ɵAnimationStyleNormalizer as AnimationStyleNormalizer ,
7
- ɵAnimationRendererFactory as AnimationRendererFactory ,
8
- ɵg as WebAnimationsStyleNormalizer
9
- } from "@angular/platform-browser/animations" ;
7
+ ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer
8
+ } from "@angular/animations/browser" ;
9
+
10
+ import { ɵAnimationRendererFactory as AnimationRendererFactory } from "@angular/platform-browser/animations" ;
10
11
11
12
import { NativeScriptAnimationEngine } from "./animations/animation-engine" ;
12
13
import { NativeScriptAnimationDriver } from "./animations/animation-driver" ;
Original file line number Diff line number Diff line change 1
- import { ɵDomAnimationEngine as DomAnimationEngine } from "@angular/platform-browser/ animations" ;
1
+ import { ɵDomAnimationEngine as DomAnimationEngine } from "@angular/animations/browser " ;
2
2
import { AnimationEvent , AnimationPlayer } from "@angular/animations" ;
3
3
4
4
import { NgView } from "../element-registry" ;
Original file line number Diff line number Diff line change 1
1
import "application" ;
2
2
3
- export * from "./animations" ;
4
3
export * from "./platform-common" ;
5
4
export * from "./platform" ;
6
5
export * from "./platform-static" ;
Original file line number Diff line number Diff line change 25
25
},
26
26
"dependencies" : {
27
27
"nativescript-intl" : " ~0.0.8" ,
28
- "@angular/animations" : " 4.0.0-rc.5" ,
29
28
"@angular/core" : " 4.0.0-rc.5" ,
30
29
"@angular/common" : " 4.0.0-rc.5" ,
31
30
"@angular/compiler" : " 4.0.0-rc.5" ,
41
40
"url" : " 0.10.3"
42
41
},
43
42
"devDependencies" : {
43
+ "@angular/animations" : " 4.0.0-rc.5" ,
44
44
"@angular/compiler-cli" : " 4.0.0-rc.5" ,
45
45
"codelyzer" : " ~2.0.0" ,
46
46
"tns-core-modules" : " internal-preview" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ import { AnimationStatesTest } from "./examples/animation/animation-states-test"
71
71
class ExampleModule { }
72
72
73
73
function makeExampleModule ( componentType ) {
74
- let imports : any [ ] = [ NativeScriptAnimationsModule , ExampleModule ] ;
74
+ let imports : any [ ] = [
75
+ NativeScriptAnimationsModule ,
76
+ ExampleModule ,
77
+ ] ;
75
78
if ( componentType . routes ) {
76
79
imports . push ( NativeScriptRouterModule . forRoot ( componentType . routes ) )
77
80
}
@@ -136,9 +139,9 @@ const customPageFactoryProvider = {
136
139
// platformNativeScriptDynamic().bootstrapModule(makeExampleModule(LoginAppComponent));
137
140
138
141
// animations
139
- platformNativeScriptDynamic ( ) . bootstrapModule ( makeExampleModule ( AnimationStatesTest ) ) ;
142
+ // platformNativeScriptDynamic().bootstrapModule(makeExampleModule(AnimationStatesTest));
140
143
// platformNativeScriptDynamic().bootstrapModule(makeExampleModule(AnimationNgClassTest));
141
- // platformNativeScriptDynamic().bootstrapModule(makeExampleModule(AnimationKeyframesTest));
144
+ platformNativeScriptDynamic ( ) . bootstrapModule ( makeExampleModule ( AnimationKeyframesTest ) ) ;
142
145
// platformNativeScriptDynamic().bootstrapModule(makeExampleModule(AnimationEnterLeaveTest));
143
146
144
147
//Livesync test
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
+ "@angular/animations" : " 4.0.0-rc.5" ,
26
27
"@angular/common" : " 4.0.0-rc.5" ,
27
28
"@angular/compiler" : " 4.0.0-rc.5" ,
28
29
"@angular/core" : " 4.0.0-rc.5" ,
33
34
"@angular/router" : " 4.0.0-rc.5" ,
34
35
"nativescript-angular" : " file:../nativescript-angular" ,
35
36
"rxjs" : " ~5.0.1" ,
36
- "tns-core-modules" : " internal-preview"
37
+ "tns-core-modules" : " internal-preview" ,
38
+ "zone.js" : " ~0.8.2"
37
39
},
38
40
"devDependencies" : {
39
- "zone.js" : " ~0.7.2" ,
40
41
"babel-traverse" : " 6.9.0" ,
41
42
"babel-types" : " 6.10.0" ,
42
43
"babylon" : " 6.8.1" ,
Original file line number Diff line number Diff line change 36
36
"nativescript-angular" : " internal-preview" ,
37
37
"nativescript-unit-test-runner" : " ^0.3.4" ,
38
38
"rxjs" : " ~5.0.1" ,
39
+ "zone.js" : " ^0.8.2" ,
39
40
"tns-core-modules" : " internal-preview"
40
41
},
41
42
"devDependencies" : {
58
59
"socket.io" : " 1.4.8" ,
59
60
"socket.io-client" : " 1.4.8" ,
60
61
"typescript" : " ~2.2.0" ,
61
- "wd" : " 0.4.0" ,
62
- "zone.js" : " ^0.7.2"
62
+ "wd" : " 0.4.0"
63
63
},
64
64
"scripts" : {
65
65
"updateTests" : " grunt updateTests" ,
You can’t perform that action at this time.
0 commit comments