Re: Locale sensitivity in toLowerCase/toUpperCase

2011-08-22 Thread Mike Samuel
2011/8/22 Norbert Lindenberg : > The specification of String.prototype.toLowerCase in ES 5.1 (which is also > referenced in String.prototype.toUpperCase) refers to the Unicode character > database for case mappings, explicitly including "not only the > UnicodeData.txt file, but also the SpecialC

Locale sensitivity in toLowerCase/toUpperCase

2011-08-22 Thread Norbert Lindenberg
The specification of String.prototype.toLowerCase in ES 5.1 (which is also referenced in String.prototype.toUpperCase) refers to the Unicode character database for case mappings, explicitly including "not only the UnicodeData.txt file, but also the SpecialCasings.txt file that accompanies it in

Re: __doc__ for functions, classes, objects etc.

2011-08-22 Thread Dmitry A. Soshnikov
On 22.08.2011 12:47, Irakli Gozalishvili wrote: I'm very much interested in getting something like this! In fact I have been useing similar documentation style for some time already: function doc(lambda) { var doc = /\/\*([\s\S]*)?\*\//.exec(String(lambda)) return doc ? doc[1].trim() : '' }