mirror of
https://api.glitch.com/git/presence-button
synced 2024-11-05 06:37:29 +00:00
🌦🏏 Checkpoint
./public/client.js:96831/492
This commit is contained in:
parent
eff0a17ccf
commit
1405803426
@ -42,27 +42,4 @@
|
||||
dreamInput.focus();
|
||||
};
|
||||
|
||||
})()
|
||||
|
||||
/*
|
||||
$(function() {
|
||||
console.log('hello world :o');
|
||||
|
||||
$.get('/dreams', function(dreams) {
|
||||
dreams.forEach(function(dream) {
|
||||
$('<li></li>').text(dream).appendTo('ul#dreams');
|
||||
});
|
||||
});
|
||||
|
||||
$('form').submit(function(event) {
|
||||
event.preventDefault();
|
||||
var dream = $('input').val();
|
||||
$.post('/dreams?' + $.param({dream: dream}), function() {
|
||||
$('<li></li>').text(dream).appendTo('ul#dreams');
|
||||
$('input').val('');
|
||||
$('input').focus();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
*/
|
||||
})()
|
Loading…
Reference in New Issue
Block a user