Fork me on GitHub
#cljsjs
<
2016-01-04
>
thomas21:01:01

struggling a bit with the externs file...

thomas21:01:59

this is my JS: Paho.MQTT.Client(host, port, path, clientId)

thomas21:01:11

but I am not sure how to write the externs file for this...

thomas21:01:41

and this is the warning I am getting:

thomas21:01:42

: WARNING - accessing name host in externs has no effect. Perhaps you forgot to add a var keyword? Paho.MQTT.Client(host, port, path, clientId);