Changes between Version 42 and Version 43 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 11/16/13 23:30:23 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v42 v43 27 27 - for string constants in '''!JavaScript''' use '''single-quotes''' {{{' '}}} - UNLESS the string contains a ' 28 28 29 - in all other cases of triple-quoted strings (such as '''Docstrings''' or Inline-XML) use {{{""" """}}} with '''double-quotes''' 29 30 - for '''Inline-!JavaScript''' or JSON inside Python code use {{{''' '''}}} with '''single-quotes''' 30 31 … … 42 43 }}} 43 44 44 - in all other cases of triple-quoted strings (such as Docstrings or Inline-XML) use {{{""" """}}} with double-quotes45 45 - for XML/HTML attributes use double-quotes {{{" "}}} (inner quotes must be escaped anyway) 46 46