chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 14:25:11 -07:00
parent 94cf5c4706
commit 6336eac4b5
477 changed files with 59087 additions and 74961 deletions

View File

@@ -7,14 +7,14 @@ import * as helper from "../../../ui-helper";
import * as utils from "@nativescript/core/utils/utils";
import * as bindingBuilder from "@nativescript/core/ui/builder/binding-builder";
import * as appModule from "@nativescript/core/application";
import * as trace from "@nativescript/core/trace";
import { Trace } from "@nativescript/core";
import { View } from "@nativescript/core/ui/core/view";
import { Button } from "@nativescript/core/ui/button";
import { Page } from "@nativescript/core/ui/page";
import { StackLayout } from "@nativescript/core/ui/layouts/stack-layout";
import { Label } from "@nativescript/core/ui/label";
import { TextField } from "@nativescript/core/ui/text-field";
declare var WeakRef: any;
// <snippet module="ui/core/bindable" title="bindable">
// For information and examples how to use bindings please refer to special [**Data binding**](../../../../bindings.md) topic.
// </snippet>
@@ -799,7 +799,7 @@ export function test_WrongNestedPropertiesBinding() {
errorMessage = message;
}
};
trace.addWriter(traceWriter);
Trace.addWriter(traceWriter);
const target1 = new Label();
target1.bind({
@@ -809,7 +809,7 @@ export function test_WrongNestedPropertiesBinding() {
}, viewModel);
TKUnit.assertNotEqual(errorMessage, undefined);
trace.removeWriter(traceWriter);
Trace.removeWriter(traceWriter);
}
export function test_NestedPropertiesBindingTwoTargets() {

View File

@@ -1,5 +1,5 @@
import * as TKUnit from "../../../tk-unit";
import { Observable, EventData } from "@nativescript/core/data/observable";
import { Observable, EventData } from "@nativescript/core";
import { addWeakEventListener, removeWeakEventListener } from "@nativescript/core/ui/core/weak-event-listener";
import { forceGC } from "../../../ui-helper";