Changeset View
Changeset View
Standalone View
Standalone View
lib/chip-types/channel.js
"use strict"; | |||||
const locreq = require("locreq")(__dirname); | |||||
const channel = function(app, declaration) { | const channel = function(app, declaration) { | ||||
this.name = declaration.name; | this.name = declaration.name; | ||||
this.longid = `channel.${declaration.name}`; | this.longid = `channel.${declaration.name}`; | ||||
}; | }; | ||||
channel.type_name = "channel"; | channel.type_name = "channel"; | ||||
module.exports = channel; | module.exports = channel; |