index.js
function set(device) {
    if (!(device instanceof Device)) return false;

    return Object.defineProperty(this, 'device', {
      value: device
    }).device;
  }
function set(device) {
    if (!(device instanceof Device)) return false;

    return Object.defineProperty(this, 'device', {
      value: device
    }).device;
  }
function set ( device ) { if ( ! ( device instanceof Device ) ) return false ; return Object . defineProperty ( this , 'device' , { value : device } ) . device ; }
Bypass the OnDemand parsing and set an Device instance.

@param {Device} device
@api public
Bypass the OnDemand parsing and set an Device instance .