1
0
Fork 0

Softened warning about app.delete in docs.

This commit is contained in:
Alan Plum 2014-06-25 11:48:45 +02:00
parent d9c9285cc5
commit 14ce86748b
1 changed files with 2 additions and 4 deletions

View File

@ -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.
<!--