You cannot post messages because only members can post, and you are not currently a member.
|
Load timeout for modules from time to time
|
| |
I know here are a lot of issues related to the "Load timeout for modules" but I made a decision to ask experts. I push errors to Google Analytics on "window.onerror" and almost every day there are several (typically 1-5) errors that say "Load timeout for modules" (different modules). But personally, I can't reproduce it. The... more »
|
|
Managing the race condition
|
| |
Across our organization we have multiple development teams including a framework team and several application teams. All of the teams write AMD modules to manage their code within their own module id namespace. // framework.js require.config( { baseUrl: "/frameworkjs/" // Configure 3rd party libraries and fmk/* modules... more »
|
|
Suggestion: Caching Solution
|
| |
requirejs provides a means of appending arguments to urls to help prevent caching. Some are using this feature as such... urlArgs: (new Date()).getTime() ... as a solution... but, what would be really nice is a option like... urlArgs: filetimestamp // Note: naming & syntax insignificant ... and when this option is used, requirejs would automatically append the... more »
|
|
Some Questions about AMD & JavaScript Modules
|
| |
Hey There, I'm doing a presentation in a couple of months on JavaScript modules & module loaders. I'm going to make a strong case that modules are a really significant part of making any significant JavaScript code base manageable and more pleasant to work with. I looking for a variety of opinions on the pros & cons of various module... more »
|
|
paths config problem
|
| |
RequireJS intermittently tries to require a file that I've explicitly
overridden in my paths config. Here is my setup:
index.html:
<script data-main="/scripts/main" src="/scripts/require-2.1.6.js "></script>
<script>
requirejs([ 'app' ]);
</script>
/scripts/main.js:
requirejs.config({... more »
|
|
comments and uglify2
|
| |
Hi there, I'm trying to use the uglify2 optimizer on my project but can't seem to get requirejsto tell it to keep comments which use cc_on directives I thought I'd just be able to pass the "comments" option<[link]> to uglify2 like this (in my build.js file):... more »
|
|
Require local problem
|
| |
I have a for loop that gets modules paths and loads them, but: config.apps: { catston_logs: 'apps/catston_logs/js/catston_ logs/', catston_data: 'apps/catston_data/js/catston_ data/' }, for (var app_name in config.apps) {... more »
|
|
|