Merge pull request #3409 from NativeScript/cankov/modules30-fix-tslint

Fix minor tslint errors
This commit is contained in:
Panayot Cankov
2017-01-04 17:38:50 +02:00
committed by GitHub
4 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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";

View File

@ -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,

View File

@ -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";