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

Nikos M.

Member since Sep 6, 2014

Recent Blog Comments By Nikos M.

  • Lazy Loading RequireJS Modules When They Are First Requested

    Posted on Sep 6, 2014 at 12:34 PM

    Hi there, this post is abit older but nevertheless i would like to post a variation based on previous comments (using a Proxy/Singleton factory pattern) for lazy, transparent require code follows: <pre> function Proxy( ) { this.instances = { }; } Proxy.prototype = { constructor... read more »