code: function (e) {
          var alwaysVisible = this.get('alwaysVisible'),
              totalRecords,visible,rpp,rppOptions,i,len;
  
          if (!e || e.type === 'alwaysVisibleChange' || !alwaysVisible) {
              totalRecords = this.get('totalRecords');
              visible      = true;
              rpp          = this.get('rowsPerPage');
              rppOptions   = this.get('rowsPerPageOptions');
  
              if (isArray(rppOptions)) {
                  for (i = 0, len = rppOptions.length; i < len; ++i) {
                      rpp = Math.min(rpp,rppOptions[i]);
                  }
              }
  
              if (totalRecords !== Paginator.VALUE_UNLIMITED &&
                  totalRecords <= rpp) {
                  visible = false;
              }
  
              visible = visible || alwaysVisible;
  
              for (i = 0, len = this._containers.length; i < len; ++i) {
                  Dom.setStyle(this._containers[i],'display',
                      visible ? '' : 'none');
              }
          }
      }
docs: Hides the containers if there is only one page of data and attribute
  alwaysVisible is false.  Conversely, it displays the containers if either
  there is more than one page worth of data or alwaysVisible is turned on.
  @method updateVisibility