Labs/Jetpack/FlightDeck/Contribution/Style Guide: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with '= Overall = Please use tab indentation (not spaces) = Python = All code should follow [http://www.python.org/dev/peps/pep-0008/ Style Guide for Python Code] = HTML = Please…')
 
 
Line 5: Line 5:
= Python =
= Python =


All code should follow [http://www.python.org/dev/peps/pep-0008/ Style Guide for Python Code]
All code should follow [http://www.python.org/dev/peps/pep-0008/ Style Guide for Python Code] with indentation as above


= HTML =  
= HTML =  

Latest revision as of 17:07, 14 July 2010

Overall

Please use tab indentation (not spaces)

Python

All code should follow Style Guide for Python Code with indentation as above

HTML

Please use double quotes for parameters (")

JS

Please use single quotes for strings (')

CSS

Please place hacks (will they be ever needed?) in the separate file