function useModule(spec) {
    if (typeof require === 'function' && spec.module) {
      var module = spec.module,
        member = (spec.member || spec.symbol);
      var loaded;
      try { loaded = require(module); } catch(e) {}
      if (loaded !== void 0) {
        return member ? loaded[member] : loaded;
      }
    }
  }
/**
   * If require is available and a module is specified,
   * use require to load the module. If a member is specified
   * return that member from the loaded module.
   */
If require is available and a module is specified,
use require to load the module. If a member is specified
return that member from the loaded module.
If require is available and a module is specified use require to load the module . If a member is specified return that member from the loaded module .
function useModule(spec) {
    if (typeof require === 'function' && spec.module) {
      var module = spec.module,
        member = (spec.member || spec.symbol);
      var loaded;
      try { loaded = require(module); } catch(e) {}
      if (loaded !== void 0) {
        return member ? loaded[member] : loaded;
      }
    }
  }
function useModule ( spec ) { if ( typeof require === 'function' && spec . module ) { var module = spec . module , member = ( spec . member || spec . symbol ) ; var loaded ; try { loaded = require ( module ) ; } catch ( e ) { } if ( loaded !== void 0 ) { return member ? loaded [ member ] : loaded ; } } }
If require is available and a module is specified,
 use require to load the module.
If require is available and a module is specified use require to load the module .