Explorar el Código

[core] Allow undefined to be published with huePubSub

Johan Åhlén hace 10 años
padre
commit
b0033800ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/hue.utils.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/hue.utils.js

@@ -202,7 +202,7 @@ var huePubSub = (function () {
       }
 
       topics[topic].forEach(function (item) {
-        item(info != undefined ? info : {});
+        item(info);
       });
     }
   };