Last active
April 29, 2016 09:50
-
-
Save vtno/32fbac5404ca991a524af928a497d7a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template.home.events({ | |
//some code here.... | |
socket = io.connect('localhost:9999', {forceNew: true}) | |
//more code here...... | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment