mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix tests
This commit is contained in:
@@ -203,7 +203,7 @@ export class TabView extends common.TabView {
|
||||
trace.write("TabView._onItemsPropertyChangedSetNativeValue(" + data.oldValue + " ---> " + data.newValue + ");", common.traceCategory);
|
||||
|
||||
if (data.oldValue) {
|
||||
var oldItems: Array<TabViewItem> = data.newValue;
|
||||
var oldItems: Array<TabViewItem> = data.oldValue;
|
||||
oldItems.forEach((oldItem) => { oldItem._parent = null; });
|
||||
|
||||
this._viewPager.setAdapter(null);
|
||||
@@ -276,7 +276,6 @@ export class TabView extends common.TabView {
|
||||
}
|
||||
}
|
||||
|
||||
console.log("createTabItem: " + result.title + " result.iconId: " + result.iconId + " result.iconDrawable: " + result.iconDrawable);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user