From 8e7efd398c3c079e4ef65021d40c75566c6135f8 Mon Sep 17 00:00:00 2001 From: Sebastian Wiedenroth Date: Sat, 12 Nov 2016 15:51:32 +0100 Subject: [PATCH] Fix syntax error, addresses #17 --- dmx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {