myscrapyard / openid-selector

Automatically exported from code.google.com/p/openid-selector
0 stars 0 forks source link

openid-jquery.js mixes tabs and spaces #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
openid-jquery.js mixes tabs and spaces which breaks the indentation when viewed 
in editors with altered tab widths

I think 4 spaces is the best unit of indentation because it works in all 
editors exactly as intended.

only 4 spaces
http://javascript.crockford.com/code.html

only 2 spaces
http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Code_forma
tting

only tabs
http://docs.jquery.com/JQuery_Core_Style_Guidelines

only tabs
http://github.com/mootools/mootools-core/wiki/syntax-and-coding-style-convention
s

Original issue reported on code.google.com by IanJosep...@gmail.com on 22 Oct 2010 at 7:45

GoogleCodeExporter commented 9 years ago
fixed in trunk, see commit 
http://code.google.com/p/openid-selector/source/detail?r=104

made it tabs: other files use tabs

Original comment by andriy.gerasika on 23 Oct 2010 at 12:52