Archive | August, 2012

What is ‘this’ in JavaScript revisited

Today, we had a strange question coming up: we make heavy use of namespaces in JavaScript in order not to pollute too much the document or window object. So, we do something like: CL = { namespace : { functions : { onload : function() { // things to be done in this function…
Read full story Comments { 0 }