packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
      * Pops all layers above and including the top blanketed layer. If layers exist but none are blanketed, this method
      * does nothing.
      *
      * @returns The blanketed layer that was popped, if it exists, otherwise null.
      */
Pops all layers above and including the top blanketed layer. If layers exist but none are blanketed, this method
does nothing.

@returns The blanketed layer that was popped, if it exists, otherwise null.
Pops all layers above and including the top blanketed layer . If layers exist but none are blanketed this method does nothing . @returns The blanketed layer that was popped if it exists otherwise null .
function popUntilTopBlanketed() {
          var i = topBlanketedIndex(this._stack);
          if (i < 0) {
              return null;
          }
          var $topBlanketedLayer = this._stack[i];
          var layer = createLayer($topBlanketedLayer);
          if (layer.isPersistent()) {
              var $next = this.getNextHigherNonPeristentAndNonBlanketedLayer($topBlanketedLayer);
              if ($next) {
                  var stopIndex = layerIndex(this._stack, $next);
                  popLayers(this._stack, stopIndex, true);
                  return $next;
              }
              return null;
          }
          popLayers(this._stack, i, true);
          updateBlanket(this._stack, i);
          return $topBlanketedLayer;
      }
function popUntilTopBlanketed ( ) { var i = topBlanketedIndex ( this . _stack ) ; if ( i < 0 ) { return null ; } var $topBlanketedLayer = this . _stack [ i ] ; var layer = createLayer ( $topBlanketedLayer ) ; if ( layer . isPersistent ( ) ) { var $next = this . getNextHigherNonPeristentAndNonBlanketedLayer ( $topBlanketedLayer ) ; if ( $next ) { var stopIndex = layerIndex ( this . _stack , $next ) ; popLayers ( this . _stack , stopIndex , true ) ; return $next ; } return null ; } popLayers ( this . _stack , i , true ) ; updateBlanket ( this . _stack , i ) ; return $topBlanketedLayer ; }
Pops all layers above and including the top blanketed layer.
Pops all layers above and including the top blanketed layer .
// We can't pop the blanketed layer, only the things ontop