Some Cleanup
Cleaning up our code by updating list view and controller files according to the previously made modifications in our project.
We'll cover the following...
We'll cover the following...
The triggers hash
Now that we’re using the triggers hash, let’s use it to clean up our code a bit. So far, we’ve got the following code:
Using a triggers hash, we can reduce the code to the following:
Since the triggers hash prevents the default event action and stops the event ...