lib/serial/deviceloader.js
function SerialDeviceLoader(Device, useGlobal) {

  // call super class
  DeviceLoader.call(this);

  this.Device = Device;

  this.useGlobal = (useGlobal === undefined || useGlobal === null) ? true : useGlobal;

  if (this.useGlobal) {
    this.globalSerialDeviceLoader = globalSerialDeviceLoader.create(Device, this.filter);
  }
}
function SerialDeviceLoader(Device, useGlobal) {

  // call super class
  DeviceLoader.call(this);

  this.Device = Device;

  this.useGlobal = (useGlobal === undefined || useGlobal === null) ? true : useGlobal;

  if (this.useGlobal) {
    this.globalSerialDeviceLoader = globalSerialDeviceLoader.create(Device, this.filter);
  }
}
function SerialDeviceLoader ( Device , useGlobal ) { // call super class DeviceLoader . call ( this ) ; this . Device = Device ; this . useGlobal = ( useGlobal === undefined || useGlobal === null ) ? true : useGlobal ; if ( this . useGlobal ) { this . globalSerialDeviceLoader = globalSerialDeviceLoader . create ( Device , this . filter ) ; } }
A serialdeviceloader can check if there are available some serial devices.
@param {Object} Device The constructor function of the device.
A serialdeviceloader can check if there are available some serial devices .