Changeset View
Changeset View
Standalone View
Standalone View
lib/chip-types/chip.js
"use strict"; | |||||
const Promise = require("bluebird"); | const Promise = require("bluebird"); | ||||
let ChipManager; | |||||
const Chip = function(type, name) { | const Chip = function(type, name) { | ||||
this.type = type; | this.type = type; | ||||
this.name = name; | this.name = name; | ||||
this.longid = `${type}.${name}`; | this.longid = `${type}.${name}`; | ||||
}; | }; | ||||
Chip.prototype.start = function() { | Chip.prototype.start = function() { | ||||
// to be overwritten | // to be overwritten | ||||
return Promise.resolve(); | return Promise.resolve(); | ||||
}; | }; | ||||
module.exports = Chip; | module.exports = Chip; |