mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Merge pull request #3409 from NativeScript/cankov/modules30-fix-tslint
Fix minor tslint errors
This commit is contained in:
@ -885,7 +885,6 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_updateEffectiveLayoutValues(parent: ViewDefinition): void {
|
_updateEffectiveLayoutValues(parent: ViewDefinition): void {
|
||||||
const density = layout.getDisplayDensity();
|
|
||||||
const style = this.style;
|
const style = this.style;
|
||||||
|
|
||||||
let parentWidthMeasureSpec = parent._currentWidthMeasureSpec;
|
let parentWidthMeasureSpec = parent._currentWidthMeasureSpec;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { LayoutBase, View, Style, Property, CssProperty, isIOS, ShorthandProperty, makeValidator, makeParser} from "ui/layouts/layout-base";
|
import { LayoutBase, View, Style, CssProperty, isIOS, ShorthandProperty, makeValidator, makeParser} from "ui/layouts/layout-base";
|
||||||
|
|
||||||
export * from "ui/layouts/layout-base";
|
export * from "ui/layouts/layout-base";
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
FlexDirection, FlexWrap, JustifyContent, AlignItems, AlignContent,
|
FlexDirection, FlexWrap, JustifyContent, AlignItems, AlignContent,
|
||||||
FlexboxLayoutBase, View, ViewBase, layout,
|
FlexboxLayoutBase, View,
|
||||||
widthProperty, heightProperty, minWidthProperty, minHeightProperty,
|
|
||||||
marginTopProperty, marginRightProperty, marginBottomProperty, marginLeftProperty,
|
|
||||||
Length,
|
Length,
|
||||||
orderProperty, Order,
|
orderProperty, Order,
|
||||||
flexGrowProperty, FlexGrow,
|
flexGrowProperty, FlexGrow,
|
||||||
|
@ -3,7 +3,6 @@ import { ActionBar } from "ui/action-bar";
|
|||||||
import { GridLayout } from "ui/layouts/grid-layout";
|
import { GridLayout } from "ui/layouts/grid-layout";
|
||||||
import { DIALOG_FRAGMENT_TAG } from "./constants";
|
import { DIALOG_FRAGMENT_TAG } from "./constants";
|
||||||
import { device } from "platform";
|
import { device } from "platform";
|
||||||
import { applyNativeSetters } from "ui/core/properties";
|
|
||||||
|
|
||||||
export * from "./page-common";
|
export * from "./page-common";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user