code: function (index, destroy) {
                  var self = this, bar = /**
               @ignore
               @type KISSY.Component.Control
               */
                      self.get('bar'), barCs = bar.get('children'), tab = bar.getChildAt(index), body = /**
               @ignore
               @type KISSY.Component.Control
               */
                      self.get('body');
                  if (tab.get('selected')) {
                      if (barCs.length === 1) {
                          bar.set('selectedTab', null);
                      } else if (index === 0) {
                          bar.set('selectedTab', bar.getChildAt(index + 1));
                      } else {
                          bar.set('selectedTab', bar.getChildAt(index - 1));
                      }
                  }
                  bar.removeChild(bar.getChildAt(index), destroy);
                  body.removeChild(body.getChildAt(index), destroy);
                  return self;
              }
docs: remove specified tab from current tabs
  @param {Number} index
  @param {Boolean} destroy whether destroy specified tab and panel
  @chainable