From 14ce86748b3cf6037df31d8c7e4ea57843bd3a6a Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Wed, 25 Jun 2014 11:48:45 +0200 Subject: [PATCH] Softened warning about app.delete in docs. --- Documentation/Books/Users/Foxx/FoxxController.mdpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/Books/Users/Foxx/FoxxController.mdpp b/Documentation/Books/Users/Foxx/FoxxController.mdpp index b5757f2b56..856b8cb62b 100644 --- a/Documentation/Books/Users/Foxx/FoxxController.mdpp +++ b/Documentation/Books/Users/Foxx/FoxxController.mdpp @@ -81,11 +81,9 @@ This handles requests from the HTTP verb patch. See above for the arguments you This handles requests from the HTTP verb delete. See above for the arguments you can give. -**Warning** - -Do not forget that delete is a reserved word in JavaScript and therefore needs to be called as app['delete']. There is also an alias del for this very reason. - +**Note** +If you are uncomfortable with using JavaScript keywords as property names, you can use the alias *del* instead.