diff --git a/dmx.js b/dmx.js index e843f1f..2430e84 100644 --- a/dmx.js +++ b/dmx.js @@ -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++) {