Skip to main content

Priyavrat

Member since Feb 27, 2013

Recent Blog Comments By Priyavrat

  • Creating A Lazy Loading Utility Module For RequireJS

    Posted on Feb 27, 2013 at 11:05 AM

    This shows that requirejs code is not invoking everytime, it is retuning the cache object.... read more »

  • Creating A Lazy Loading Utility Module For RequireJS

    Posted on Feb 27, 2013 at 11:04 AM

    I am not convince with this approach. RequireJs always return the previous loaded module instead of calling it again. I am not sure if I am right or wrong. It looks subtle to me also. Take the following example:- define(function(){ var Module = { load : function(){ Module.loaded = true ... read more »

  • Creating A Lazy Loading Utility Module For RequireJS

    Posted on Feb 27, 2013 at 11:03 AM

    I am not convince with this approach. RequireJs always return the previous loaded module instead of calling it again. I am not sure if I am right or wrong. It looks subtle to me also. Take the following example:- define(function(){ var Module = { load : function(){ Module.... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel