Sometimes it is convenient to use not only one decimal separator symbol, but any of several possible. E.g. in my country (Russia) official decimal separator is comma (,), but dot (.) is also often used. More, when switching keyboard layout to Russian, NumPad dot starts acting as comma. This may bring inconveniences to input masks, as users will have to think about their keyboard layout before entering numbers.
I have created a patch that adds support for multiple decimal separators. E.g. one can use space as group separator and both dot and comma as decimal separators. In this scheme, all decimal separators are replaced to the first one (dot) on input.
After the patch is applied, one can specify decimalSeparator not only as string, but as an array of strings. When decimalSeparator is a string, all works as before, but when it is an array, users can input any of them.
The patch also adds several functions to JavaScriptUtil: array2obj(creates an object of an array, e.g. ["a","b","c"] -> {a:"a", b:"b",c:"c"}; this allows you to use "in" operator instead of searching arrays) and indexOfAny (like indexOf, but searches for first occurence of any string from an array).
I don't think this feature is critical (and will be really useful for anyone but me:)), but if you find it interesting, please let me know.
Regards,
Alexey