Fix syntax error, addresses #17

This commit is contained in:
Sebastian Wiedenroth 2016-11-12 15:51:32 +01:00
parent 9fa3e6607a
commit 8e7efd398c

2
dmx.js
View file

@ -38,7 +38,7 @@ DMX.prototype.updateAll = function(universe, value) {
this.emit('updateAll', universe, value)
}
DMX.prototype.universeToObject(universe) {
DMX.prototype.universeToObject = function(universe) {
var universe = this.universes[req.params.universe]
var u = {}
for(var i = 0; i < universe.length; i++) {