bnhonaker/shoppinglistapp — pull request #2 by Grae-Drake (2014-06-16 05:42:24+00:00)
Title: Grae edits

Hey Byonca, this pull request contains 3 commits:
- First commit cleans up formatting and indentation so my linter is clean to work with :smile:
- Second commit attaches the event handler to the

rather than the individual
. This is called event delegation (learn more here: http://learn.jquery.com/events/event-delegation/). Note that $(this) now points at the

, which means we'll have to select the
we're targeting some other way.
- Third commit replaces $(this) (which, remember, is now the

with $(event.target) which is the
we actually click on. Huzza! :+1: :smiley_cat: :congratulations:

Grae