[Prototype-core] Style Guide for rewrite branch

2008-11-12 Thread T.J. Crowder
In LH ticket #433, Tobie says there are (new) style rules being used in the rewrite effort that new contributions should adhere to. I've said that it's hard to conform to a style guide that doesn't exist, and suggested that a (brief) document saying what the goals and rationales are, giving the

[Prototype-core] Re: Style Guide for rewrite branch

2008-11-12 Thread Tobie Langel
Thanks for the write-up T.J. Before we go ahead and document the styles, I'd like to have a bit more input (with relevant example code, please!) of how we should handle feature testing. Here's the originally proposed implementation for String#escapeHTML: