Skip to content

Commit 766e3c0

Browse files
committed
refactor(animations): remove old animations player/driver
1 parent 5db0108 commit 766e3c0

File tree

9 files changed

+33
-354
lines changed

9 files changed

+33
-354
lines changed

Diff for: nativescript-angular/animation-driver.ts

-28
This file was deleted.

Diff for: nativescript-angular/animation-player.ts

-288
This file was deleted.

Diff for: nativescript-angular/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export * from "./file-system/ns-file-system";
1414
export * from "./modal-dialog";
1515
export * from "./renderer";
1616
export * from "./view-util";
17-
export * from "./animation-driver";
1817
export * from "./resource-loader";
1918
export {
2019
ViewResolver,

Diff for: nativescript-angular/nativescript.module.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import { ModalDialogHost, ModalDialogService } from "./directives/dialogs";
1212
import {
1313
ApplicationModule,
1414
ErrorHandler,
15-
// RendererV2,
16-
RendererFactoryV2,
15+
RendererFactory2,
1716
NgModule, NO_ERRORS_SCHEMA,
1817
} from "@angular/core";
1918
import {
@@ -38,11 +37,8 @@ export function errorHandlerFactory() {
3837
defaultFrameProvider,
3938
defaultPageProvider,
4039
defaultDeviceProvider,
41-
4240
NativeScriptRendererFactory,
43-
{ provide: RendererFactoryV2, useClass: NativeScriptRendererFactory },
44-
// NativeScriptRenderer,
45-
// { provide: RendererV2, useClass: NativeScriptRenderer },
41+
{ provide: RendererFactory2, useClass: NativeScriptRendererFactory },
4642
ModalDialogService
4743
],
4844
entryComponents: [

Diff for: nativescript-angular/package.json

+10-9
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@
2525
},
2626
"dependencies": {
2727
"nativescript-intl": "~0.0.8",
28-
"@angular/core": "4.0.0-rc.1",
29-
"@angular/common": "4.0.0-rc.1",
30-
"@angular/compiler": "4.0.0-rc.1",
31-
"@angular/http": "4.0.0-rc.1",
32-
"@angular/platform-browser": "4.0.0-rc.1",
33-
"@angular/platform-browser-dynamic": "4.0.0-rc.1",
34-
"@angular/forms": "4.0.0-rc.1",
35-
"@angular/router": "4.0.0-rc.1",
28+
"@angular/animations": "4.0.0-rc.3",
29+
"@angular/core": "4.0.0-rc.3",
30+
"@angular/common": "4.0.0-rc.3",
31+
"@angular/compiler": "4.0.0-rc.3",
32+
"@angular/http": "4.0.0-rc.3",
33+
"@angular/platform-browser": "4.0.0-rc.3",
34+
"@angular/platform-browser-dynamic": "4.0.0-rc.3",
35+
"@angular/forms": "4.0.0-rc.3",
36+
"@angular/router": "4.0.0-rc.3",
3637
"rxjs": "^5.0.1",
3738
"reflect-metadata": "~0.1.8",
3839
"punycode": "1.3.2",
3940
"querystring": "0.2.0",
4041
"url": "0.10.3"
4142
},
4243
"devDependencies": {
43-
"@angular/compiler-cli": "4.0.0-rc.1",
44+
"@angular/compiler-cli": "4.0.0-rc.3",
4445
"codelyzer": "~2.0.0",
4546
"tns-core-modules": "internal-preview",
4647
"tslint": "~4.4.0",

0 commit comments

Comments
 (0)