Created
June 29, 2010 02:12
-
-
Save bensonk/456694 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
//submit a new message to the server | |
function send(msg) { | |
if (CONFIG.debug === false) { | |
// XXX should be POST | |
// XXX should add to messages immediately | |
jQuery.get("/send", {id: CONFIG.id, text: msg}, function (data) { }, "json"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment