packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
   * Adds functions to the list of methods to be run on initialisation. Wraps
   * error handling around the provided function so its failure won't prevent
   * other init functions running.
   *
   * @param {Function} func Function to be call on initialisation.
   *
   * @return {Object}
   */
Adds functions to the list of methods to be run on initialisation. Wraps
error handling around the provided function so its failure won't prevent
other init functions running.

@param {Function} func Function to be call on initialisation.

@return {Object}
Adds functions to the list of methods to be run on initialisation . Wraps error handling around the provided function so its failure won ' t prevent other init functions running . @param { Function } func Function to be call on initialisation . @return { Object }
function toInit(func) {
      (0, _jquery2.default)(function () {
          try {
              func.apply(this, arguments);
          } catch (ex) {
              logger.log('Failed to run init function: ' + ex + '\n' + func.toString());
          }
      });
      return this;
  }
function toInit ( func ) { ( 0 , _jquery2 . default ) ( function ( ) { try { func . apply ( this , arguments ) ; } catch ( ex ) { logger . log ( 'Failed to run init function: ' + ex + '\n' + func . toString ( ) ) ; } } ) ; return this ; }
Adds functions to the list of methods to be run on initialisation.
Adds functions to the list of methods to be run on initialisation .