The pattern now is:
var something = $("something").val()
return api.blahblah(something);
We could actually get rid of that by making that mapping in html, something like:
<button id="delete" … data-uri="#uuid">
This would reduce the update/delete event definitions to a collective ~1-2 lines or so, for example.
The pattern now is:
We could actually get rid of that by making that mapping in html, something like:
This would reduce the update/delete event definitions to a collective ~1-2 lines or so, for example.