While working on the client-side caching mechanism in eCSStender, I realized the dangers of localStorage.clear() and worked to come up with a solution.
As any competent JavaScript knows, it’s not cool to litter the global namespace with variables, functions, and the like. Occasionally, however, even closures won't help you trap a given variable.
Git svn a great tool, but it's not without its limitations. One such limitation is its inability to translate Git submodules into svn:externals. Thankfully, Git offers an alternative that is comparable and plays nicely with Subversion.
Nested loops in ExpressionEngine can cause all sorts of headaches, especially when it comes to dealing with "magic" variables like {count}. Thankfully, MySQL can help.
A few projects back, I decided to rethink our JavaScript organization strategy and came up with a new technique that, I think, helps us better manage behaviors from page to page.
By default (or at least in the default configuration provided under the LG TinyMCE extension for ExpressionEngine), TinyMCE will remove the alt attribute if it is empty. Obviously, for accessibility and validation reasons, this is highly undesirable and needs correcting.