diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8f2f23 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Homework +New homework app rewritten using Meteor because I realized the MEAN stack was +a bad idea: meteor is just better (or at least faster to write). + +**requires Meteorite** and `bootstrap-3` and `fontawesome` Meteorite packages. + +### License +GPLv3 diff --git a/app.coffee b/app.coffee index 10ac55b..baecf77 100644 --- a/app.coffee +++ b/app.coffee @@ -14,7 +14,7 @@ if Meteor.isClient } Template.adder.events { 'keypress #newNote': (e,template) -> - console.log e.keyCode if e.keyCode is 13 todos.insert { content: template.find('#newNote').value } + template.find('#newNote').value = "" }