Changes between Version 12 and Version 13 of Coding_Conventions
- Timestamp:
- Mar 1, 2012, 10:52:53 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Coding_Conventions
v12 v13 237 237 var c = (+a) + 1; // numeric addition; c == 2 238 238 }}} 239 240 == XML == 241 242 * All XML files should start with 243 {{{ 244 <?xml version="1.0" encoding="utf-8"?> 245 }}} 246 and be UTF-8 encoded (preferably without a BOM but that doesn't really matter). 247 248 * Empty-element tags should be written without a trailing space: use `<foo/>` or `<foo bar="baz"/>`, not `<foo />` nor `<foo bar="baz" />`. 249 250 * Indent using whatever the similar existing XML files use. (Usually two spaces; sometimes four spaces, or tabs, etc.)