mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix tslint errors.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { View, Template } from "ui/core/view"
|
||||
import { PropertyChangeData, Property, PropertyMetadataSettings } from "ui/core/dependency-observable"
|
||||
import {Template} from "ui/core/view"
|
||||
import {Property, PropertyMetadataSettings} from "ui/core/dependency-observable"
|
||||
import * as proxy from "ui/core/proxy"
|
||||
import { LayoutBase } from "ui/layouts/layout-base"
|
||||
import { parse } from "ui/builder"
|
||||
|
||||
@@ -14,7 +14,6 @@ import stackLayoutModule = require("ui/layouts/stack-layout");
|
||||
import {Label} from "ui/label";
|
||||
import {Page} from "ui/page";
|
||||
import {Button} from "ui/button";
|
||||
import {View} from "ui/core/view";
|
||||
import {TabView} from "ui/tab-view";
|
||||
import {Observable} from "data/observable";
|
||||
import {TemplateView} from "./template-builder-tests/template-view";
|
||||
@@ -882,8 +881,6 @@ export function test_EventInTemplate() {
|
||||
notified = true;
|
||||
}
|
||||
|
||||
var basePath = "xml-declaration/";
|
||||
var message;
|
||||
var page = builder.load(__dirname + "/template-builder-tests/event-in-template.xml", pageCode);
|
||||
TKUnit.assert(view, "Expected the xml to generate a page");
|
||||
var templateView = <TemplateView>page.getViewById("template-view");
|
||||
@@ -908,8 +905,6 @@ export function test_EventInCodelessFragment() {
|
||||
notified = true;
|
||||
}
|
||||
|
||||
var basePath = "xml-declaration/";
|
||||
var message;
|
||||
var page = builder.load(__dirname + "/template-builder-tests/event-in-codeless-fragment.xml", pageCode);
|
||||
TKUnit.assert(view, "Expected the xml to generate a page");
|
||||
var templateView = <TemplateView>page.getViewById("template-view");
|
||||
@@ -971,4 +966,4 @@ export function test_TabViewHasCorrectParentChain() {
|
||||
var model = new Observable();
|
||||
model.set("testPassed", false);
|
||||
helper.navigateToModuleAndRunTest(("." + moduleName + "/mymodulewithxml/TabViewParentChain"), model, testFunc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user