Changes between Version 89 and Version 90 of DeveloperGuidelines/Tips


Ignore:
Timestamp:
04/15/10 21:08:17 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Tips

    v89 v90  
    9494 * Dynamically load additional JS: http://unixpapa.com/js/dyna.html
    9595 * [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, '_');}}}
    9699
    97100===== jQuery =====