lib/application.js
function getDriverInstance(driver, config) {
  if (!(driver in protos.drivers)) throw new Error(util.format("The '%s' driver is not loaded. Load it with app.loadDrivers('%s')", driver, driver));
  return new protos.drivers[driver](config || {});
}
function getDriverInstance(driver, config) {
  if (!(driver in protos.drivers)) throw new Error(util.format("The '%s' driver is not loaded. Load it with app.loadDrivers('%s')", driver, driver));
  return new protos.drivers[driver](config || {});
}
function getDriverInstance ( driver , config ) { if ( ! ( driver in protos . drivers ) ) throw new Error ( util . format ( "The '%s' driver is not loaded. Load it with app.loadDrivers('%s')" , driver , driver ) ) ; return new protos . drivers [ driver ] ( config || { } ) ; }
Returns a new driver instance
Returns a new driver instance