On Thu, Jan 2, 2014 at 1:44 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com> wrote: >> >> The sad part is JS used to be C. Its idiosyncratic C++ rules could have >> been inherited from Gecko instead. > > FWIW this is the earliest version of the SpiderMonkey coding style document > that I can find, dating back to 2006: > <https://wiki.mozilla.org/index.php?title=JavaScript:SpiderMonkey:C_Coding_Style&oldid=15815>.
Some style rules are more important than others. Even back then 4-space indents was dictated, as opposed to Gecko's 2-space indents, and that affects most lines in a file. Nick _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform