src/samdy.js
function load(mod) {
    if (typeof(mod.factory) === "function") {
      return require(mod.deps, mod.factory);
    }
    return mod.factory;
  }
function load(mod) {
    if (typeof(mod.factory) === "function") {
      return require(mod.deps, mod.factory);
    }
    return mod.factory;
  }
function load ( mod ) { if ( typeof ( mod . factory ) === "function" ) { return require ( mod . deps , mod . factory ) ; } return mod . factory ; }
Load the module by calling its factory with the appropriate dependencies, if at all possible
Load the module by calling its factory with the appropriate dependencies if at all possible