Changes between Version 89 and Version 90 of DeveloperGuidelines/Tips
- Timestamp:
- 04/15/10 21:08:17 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Tips
v89 v90 94 94 * Dynamically load additional JS: http://unixpapa.com/js/dyna.html 95 95 * [http://aymanh.com/9-javascript-tips-you-may-not-know#String_Concatenation_vs._Array.join array.join instead of string concatenation] (& other tips) 96 * Ensure variable names use only Word characters: 97 * Python: {{{variable_name = re.sub('\W', '_', string)}}} 98 * JS: {{{var RE_JSVAR = new RegExp("\W", "g"); var variable_name = string.replace(RE_JSVAR, '_');}}} 96 99 97 100 ===== jQuery =====