Community Member Profile
- Profile: /members/10155-Jens-Roland.htm
- URL: http://jensroland.com
- Comments: 2
- Points: 22
Recent Blog Comments By Jens Roland
-
Creating A Lazy Loading Utility Module For RequireJS
Posted on Jul 26, 2012 at 10:38 AM
@Ben, Sure, that makes sense. In my own framework, I use a slightly different approach; I extend* both define() and require() , but keeping the method signatures intact. Then, by defining a mag... read more »
-
Creating A Lazy Loading Utility Module For RequireJS
Posted on Jul 26, 2012 at 6:51 AM
Perhaps I am missing something subtle here, but doesn't RequireJS handle this state internally? Admittedly, I use curl.js instead of RequireJS so I wouldn't know, but it seems unlikely that a second call to require() would re-fetch / re-initialize the previously loaded module. I know for a fact t... read more »



