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

16 lines
336 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) {
2017-04-09 18:08:22 +00:00
super(config.tag_reader, logger);
}
}
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: