Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Elvis Guimarães

Member since Feb 4, 2010

Recent Blog Comments By Elvis Guimarães

  • Wrapping The Window Object In A jQuery Wrapper

    Posted on Feb 4, 2010 at 8:58 PM

    Nice solution, but you could simply use other identifier than 'window' for the wrapped window object and the problem would be solved. Since javascript has function scope, the local variable window overrides the global window object as soon as the function get executed. jQuery(function($) { cons... read more »