Hmm.. I don't think you can simplify their example to just that one line. For example, where is the url which is supposed to be requested to delete the item on the server.
but also, I'm not trying to provide a complete solution, just a direction to look in.