Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


curl downloads `preload` modules even if they're built-in to curl.js file #46

unscriptable opened this Issue · 0 comments

1 participant


This happens when using one of the dist/ versions of curl and the new preload feature at the same time. curl starts processing the modules specified in the preload array before the browser finishes executing the curl.js file. Therefore, it starts downloading the preload modules before the define() calls for those same modules are executed in the curl.js file.

This only happens when using curl = { /* config with preloads */ };, not when using curl({ /* config with preloads */ }, deps, cb);.

@unscriptable unscriptable was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.