packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
           * Runs all the binder components for the given scope, or the document body if none specified.
           *
           * @method runBinders
           * @param scope {Element} element scope to run the binders in
           */
Runs all the binder components for the given scope, or the document body if none specified.
@method runBinders
@param scope {Element} element scope to run the binders in
Runs all the binder components for the given scope or the document body if none specified . @method runBinders @param scope { Element } element scope to run the binders in
function runBinders(scope) {
              if (_jquery2.default.isEmptyObject(binders)) {
                  logger.log('No binders to run');
                  return;
              }
              scope = scope || document.body;
              (0, _jquery2.default)('*:not(link, script)', scope).each(function (i, element) {
                  var $element = (0, _jquery2.default)(element);
                  _jquery2.default.each(binders, function (id, binder) {
                      if (!$element.data(id) && $element.is(binder.selector)) {
                          logger.log('Running binder component: ' + id + ' on element ' + element);
                          $element.data(id, true); 
                          binder.run(element);
                      }
                  });
              });
          }
function runBinders ( scope ) { if ( _jquery2 . default . isEmptyObject ( binders ) ) { logger . log ( 'No binders to run' ) ; return ; } scope = scope || document . body ; ( 0 , _jquery2 . default ) ( '*:not(link, script)' , scope ) . each ( function ( i , element ) { var $element = ( 0 , _jquery2 . default ) ( element ) ; _jquery2 . default . each ( binders , function ( id , binder ) { if ( ! $element . data ( id ) && $element . is ( binder . selector ) ) { logger . log ( 'Running binder component: ' + id + ' on element ' + element ) ; $element . data ( id , true ) ; binder . run ( element ) ; } } ) ; } ) ; }
Runs all the binder components for the given scope, or the document body if none specified.
Runs all the binder components for the given scope or the document body if none specified .
// so we don't bind to the same element again later