src/store/internals/addEnabledElement.js
function _initModulesOnElement(enabledElement) {
  const modules = store.modules;

  Object.keys(modules).forEach(function(key) {
    if (typeof modules[key].enabledElementCallback === 'function') {
      modules[key].enabledElementCallback(enabledElement);
    }
  });
}
function _initModulesOnElement(enabledElement) {
  const modules = store.modules;

  Object.keys(modules).forEach(function(key) {
    if (typeof modules[key].enabledElementCallback === 'function') {
      modules[key].enabledElementCallback(enabledElement);
    }
  });
}
function _initModulesOnElement ( enabledElement ) { const modules = store . modules ; Object . keys ( modules ) . forEach ( function ( key ) { if ( typeof modules [ key ] . enabledElementCallback === 'function' ) { modules [ key ] . enabledElementCallback ( enabledElement ) ; } } ) ; }
Iterate over our store's modules. If the module has an `enabledElementCallback`
call it and pass it a reference to our enabled element.
@private
@method
@param  {Object} enabledElement
@returns {void}
Iterate over our store s modules . If the module has an enabledElementCallback call it and pass it a reference to our enabled element .