Changes between Version 46 and Version 47 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 08/09/14 18:04:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v46 v47 172 172 == !JavaScript == 173 173 174 * http://javascript.crockford.com/code.html 174 * Use ' not " where possible 175 * Terminate all appropriate lines with ; (minifies better) 176 * Take care to not have a trailing comma in arrays (IE8 and lower barf and hence so does Closure) 177 * Avoid use of the ternary operator (many users unfamiliar with this and it has 2 statements in 1 lines which makes debugging harder) 178 179 * http://javascript.crockford.com/code.html 175 180 176 181 == HTML ==