packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
   * Binds events to the window object. See jQuery bind documentation for more
   * details. Exceptions are caught and logged.
   */
Binds events to the window object. See jQuery bind documentation for more
details. Exceptions are caught and logged.
Binds events to the window object . See jQuery bind documentation for more details . Exceptions are caught and logged .
function bind(eventType, eventData, handler) {
      try {
          if (typeof handler === 'function') {
              return (0, _jquery2.default)(window).bind(eventType, eventData, handler);
          } else {
              return (0, _jquery2.default)(window).bind(eventType, eventData);
          }
      } catch (e) {
          logger.log('error while binding: ' + e.message);
      }
  }
function bind ( eventType , eventData , handler ) { try { if ( typeof handler === 'function' ) { return ( 0 , _jquery2 . default ) ( window ) . bind ( eventType , eventData , handler ) ; } else { return ( 0 , _jquery2 . default ) ( window ) . bind ( eventType , eventData ) ; } } catch ( e ) { logger . log ( 'error while binding: ' + e . message ) ; } }
Binds events to the window object.
Binds events to the window object .