Cleanup Moved CSS and JS to matching folders

This commit is contained in:
Jason Booth 2011-03-09 17:43:24 -06:00
parent d4bc0863b8
commit 965686d44c
16 changed files with 13 additions and 13 deletions

View file

@ -1,21 +0,0 @@
function sendChat(message) {
var ip;
$.ajax({
type: "GET",
url: "http://jsonip.appspot.com/?callback=?",
dataType: "jsonp",
success: function(getip) {
var data = '{"name":"'+getip.ip+'","message":"'+message+'"}';
$.ajax({
type: 'POST',
url: 'up/sendmessage',
data: data,
dataType: 'json',
success: function(response) {
//handle response
}
});
}
});
}
//curl -d '{"name":"Nickname","message":"Hello"}' http://localhost:8123/up/sendmessage