diff --git a/week4/templating/index.html b/week4/templating/index.html index 55acd48..708458b 100644 --- a/week4/templating/index.html +++ b/week4/templating/index.html @@ -10,15 +10,6 @@ width: 30em; } - .book { - padding: 10px; - border-bottom: 1px solid red; - } - - #books { - width: 30em; - } - @@ -36,7 +27,7 @@ - + @@ -70,17 +62,11 @@ console.log('all the books: ' + JSON.stringify(msg)); - compile_results_and_display(msg); + //compile_results_and_display(msg); }); - function get_books() { - - socket.emit('give some books', "nothing"); - - } - - + /* function compile_results_and_display(results) { var template_script = $("#books-template").html(); @@ -92,6 +78,7 @@ $('#books').append(template(results)); } + */