Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script(type="text/javascript"). // a point at the end of the line
- var chatbox = document.getElementById("chatbox');
- var BASE_URL = '#{BASE_URL}' //Pass some environment variable
- var socket = io.connect(BASE_URL)
Add Comment
Please, Sign In to add comment