console.log removed

This commit is contained in:
Vladimir Enchev
2015-03-17 14:12:56 +02:00
parent 3e8d2aa0df
commit 18c368df17

View File

@ -35,9 +35,7 @@ function onItemsPropertyChanged(data: dependencyObservable.PropertyChangeData) {
var newItems = <Array<definition.SegmentedBarItem>>data.newValue;
console.log("SET ITEMS BEFORE: " + view.selectedIndex);
view._adjustSelectedIndex(newItems);
console.log("SET ITEMS AFTER: " + view.selectedIndex);
view.ios.removeAllSegments();
@ -72,7 +70,6 @@ export class SegmentedBar extends common.SegmentedBar {
constructor() {
super();
this._ios = UISegmentedControl.new();
console.log("CREATE: " + this.selectedIndex);
this._selectionHandler = SelectionHandlerImpl.new().initWithOwner(this);
this._ios.addTargetActionForControlEvents(this._selectionHandler, "selected", UIControlEvents.UIControlEventValueChanged);