From be1b8a591092e8760d2b023e0d02a92f46b21a5e Mon Sep 17 00:00:00 2001 From: sparky672 Date: Thu, 22 Dec 2016 10:00:35 -0600 Subject: [PATCH] Update accept-method.xml Many questions on StackOverflow are triggered by errors caused by users not knowing that this method is part of the Additional Methods file. This is a matter of fact and should be included in the documentation. --- entries/accept-method.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/accept-method.xml b/entries/accept-method.xml index b713cd8..529c1a0 100644 --- a/entries/accept-method.xml +++ b/entries/accept-method.xml @@ -10,7 +10,7 @@

You can specify multiple mime-types by separating them with a comma, e.g. "image/x-eps,application/pdf".

Works with type="file" inputs.

- +

Part of the additional-methods.js file

Note: This method used to look at just the filename, specifically the file extension. That behaviour is now available as the "extension" method inside src/additional/extension.js.