🌦🏏 Checkpoint
./public/client.js:96831/492
This commit is contained in:
parent
eff0a17ccf
commit
1405803426
@ -43,26 +43,3 @@
|
||||
};
|
||||
|
||||
})()
|
||||
|
||||
/*
|
||||
$(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