Priyavrat
Member since Feb 27, 2013
- Profile: /members/10700-priyavrat.htm
- Comments: 3
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 »