mirror of
https://github.com/fazo96/homework.git
synced 2025-01-10 12:14:22 +01:00
add readme
This commit is contained in:
parent
4387b8e198
commit
54be536454
8
README.md
Normal file
8
README.md
Normal file
@ -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
|
@ -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 = ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user