14058034 by Glitch (hello-express)

:white_sun_rain_cloud::cricket: Checkpoint

./public/client.js:96831/492
1 parent eff0a17c
...@@ -42,27 +42,4 @@ ...@@ -42,27 +42,4 @@
42 dreamInput.focus(); 42 dreamInput.focus();
43 }; 43 };
44 44
45 })()
46
47 /*
48 $(function() {
49 console.log('hello world :o');
50
51 $.get('/dreams', function(dreams) {
52 dreams.forEach(function(dream) {
53 $('<li></li>').text(dream).appendTo('ul#dreams');
54 });
55 });
56
57 $('form').submit(function(event) {
58 event.preventDefault();
59 var dream = $('input').val();
60 $.post('/dreams?' + $.param({dream: dream}), function() {
61 $('<li></li>').text(dream).appendTo('ul#dreams');
62 $('input').val('');
63 $('input').focus();
64 });
65 });
66
67 });
68 */
...\ No newline at end of file ...\ No newline at end of file
45 })()
...\ No newline at end of file ...\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!