pi-rfid-jukebox/jukebox/tag-reader.js

16 lines
328 B
JavaScript
Raw Normal View History

"use strict";
const ChildProcessEmitter = require('./child-process').ChildProcessEmitter;
class TagReader extends ChildProcessEmitter {
2017-04-09 17:55:11 +00:00
constructor(config, logger) {
super(config.tag_reader);
}
}
2017-04-09 17:55:11 +00:00
module.exports = function(config, logger) {
return new TagReader(config, logger);
};
// vim:set ts=2 sw=2 et: