javascript code for Websockets

pannet1
hi @ajinasokan,

ref discussion on the same subject i am not getting any quote yet. Firefox console returns following error.


ReferenceError: require is not defined ticker.js:1:5
TypeError: KiteTicker is not a constructor localendpoint:487:15




Tagged:
  • tonystark
    Hi @pannet1,

    Which ticker.js file are you using? It seems you are using the one from kiteconnectjs repository. Please use the ticker.js from the link I shared. It is modified for working in pure js environment.
  • pannet1
    hi @ajinasokan,
    its working like charm. it is just that i need to take a crash course on javascript object and arrays. thanks for your help once again.
This discussion has been closed.