FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor: remove ununsed Layout class (#6228) · NativeScript/NativeScript@43f0fd0 · GitHub

Commit 43f0fd0

Browse files
authored
refactor: remove ununsed Layout class (#6228)
1 parent 97a7b7e commit 43f0fd0

4 files changed

Lines changed: 2 additions & 133 deletions

File tree

‎tests/app/ui/view/view-tests-common.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ import { Page } from "tns-core-modules/ui/page";
55
import { Button } from "tns-core-modules/ui/button";
66
import { Label } from "tns-core-modules/ui/label";
77
import { Color } from "tns-core-modules/color";
8-
import { Layout } from "tns-core-modules/ui/layouts/layout";
98
import { StackLayout } from "tns-core-modules/ui/layouts/stack-layout";
109
import { AbsoluteLayout } from "tns-core-modules/ui/layouts/absolute-layout";
11-
import * as utils from "tns-core-modules/utils/utils";
1210
import * as types from "tns-core-modules/utils/types";
1311
import * as helper from "../../ui/helper";
1412
import * as observable from "tns-core-modules/data/observable";
1513
import * as bindable from "tns-core-modules/ui/core/bindable";
1614
import * as definition from "./view-tests";
1715
import { isIOS, isAndroid } from "tns-core-modules/platform";
16+
import { LayoutBase } from "tns-core-modules/ui/layouts/layout-base";
1817

1918
export function test_eachDescendant() {
2019
const test = function (views: Array<View>) {
@@ -292,7 +291,7 @@ const customShortHandProperty = new ShorthandProperty<Style, string>({
292291
});
293292
customShortHandProperty.register(Style);
294293

295-
class TestView extends Layout {
294+
class TestView extends LayoutBase {
296295
public inheritanceTest: number;
297296
public booleanInheritanceTest: boolean;
298297
public dummy: number;

‎tns-core-modules/ui/layouts/layout.android.ts‎

Lines changed: 0 additions & 109 deletions
This file was deleted.

‎tns-core-modules/ui/layouts/layout.d.ts‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎tns-core-modules/ui/layouts/layout.ios.ts‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL