Comments (9)
Bit more info. First of all, the file shouldn't be requested at all, unless I'm missing something. But when it is requested, it is hitting "undefined/domReady.js". The 2nd part probably isn't important, as it is likely due to plugins path not being defined (I kept my example code simple to isolate this issue), but wanted to include just in case.
from curl.
This is easily reproduced in the tests. It seems that curl's simplified make.sh script (which is used to create the compiled versions in the dist/ folder) is too simplistic to handle parent module ids. The real fix would be to start using cram to compile these versions, but for now, I just changed the domReady! plugin's call to the domReady module from "../domReady" to "curl/domReady". Will commit this to dev branch and release it as 0.5.1 after running tests.
from curl.
Good deal. Figured it was something simple. Thanks!
from curl.
I just pushed 0.5.1 after checking it in the tests. Feel free to test it in your env and close this ticket if it's fixed for you. -- J
from curl.
You're on fire! I'll close in morning after I verify. Thanks!
from curl.
Similar issue found with "css" plugin, using 0.5.1.
from curl.
I just verified that the css! and async! plugin have a sightly different issue that manifests itself the same way.
from curl.
Committed a fix to the dev branch: https://github.com/unscriptable/curl/tree/dev. Milestone: 0.5.2.
from curl.
Verified css! is fixed. Thanks!
from curl.
Related Issues (20)
- curl-css shouldn't wait for readystate == 'complete' HOT 7
- What if the module is a function? HOT 1
- Similar functionality of curl with require.js map config? HOT 1
- Using domReady! as a dependency argument causes an error HOT 4
- dealing with the window object HOT 7
- Unhandled error is eaten by curl when bootstrap code has a json plugin dependency HOT 5
- For anyone facing the error : Multiple anonymous defines encountered HOT 1
- Multiple bundles HOT 17
- Remove old IE event listeners in domReady HOT 1
- License for curl HOT 4
- "undefined" from import when define function throws an exception HOT 8
- Modules "undefined" when error occurs HOT 1
- "new Promise()" syntax non-standard? HOT 1
- Promise.then doesn't wait HOT 5
- Add build with js plugin
- multiple anonymous defines HOT 2
- How to help curl guess the right plugin? (e.g. json! for *.json) HOT 8
- Feature Request: Add syntax to bypass plugins
- cjsm11 loader hides a TypeError and falsely reports success
- ε¦δΉ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl.