Created
October 3, 2011 22:12
-
-
Save nodesocket/1260399 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
//Socket not connected | |
else { | |
//Not already trying to connect, create a new socket | |
if(!logify.connecting) { | |
//Create the socket | |
logify.connecting = true; | |
logify.connect(); | |
} | |
//Write to temporary storage array | |
logify.storage.push({ message: message, callback: p_callback }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment