You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
$(document).ready(function(){
|
|
console.log('<%- config.webPageTitle %> : Attaching Socket.IO Handler')
|
|
$.webSocket = io({
|
|
transports: ['websocket']
|
|
})
|
|
$.webSocket.on('connect',function(d){
|
|
console.log('Websocket Connected')
|
|
})
|
|
$.webSocket.on('f',function(d){
|
|
console.log(d)
|
|
})
|
|
})
|