smartfacecloud-emulator-dispatcher
Version:
Handles Emulator Dispatcher Part of SmartfaceCloud
19 lines (15 loc) • 315 B
JavaScript
module.exports = function() {
var self = this;
this.map = {};
this.add = function(key, value) {
self.map[key] = value;
};
this.toString = function() {
var data = "";
for (var key in self.map) {
data += key + " " + self.map[key] + "\n";
}
return data;
};
this.FILE_NAME = "descriptor.txt";
};