Closed mk-pmb closed 10 years ago
If I guess correctly that
priv['core'].checkToAddJsExt
instead of
priv.core.checkToAddJsExt
is there to scare cram.js into not minifying core
, maybe the function names should also be quoted where they were defined, src/curl.js
:685 and src/curl.js
:744?
Yours, MK
Ahhh, ok! I see. It's the versions in the dist/ folder! Got it. Thanks!
Wait. I see the problem. You have to minify curl and its loader, shims, and (in some cases) plugins at the same time. The minification-obfuscation tool will assign different obfuscated names if you attempt to minify them separately.
Yes, that was one reason why I tried with the readnymade kitchen-sink edition dist/curl-kitchen-sink/curl.js
. With that, I got the c.Ga is not a function
error and had no idea where to put a work-around.
I found and fixed the c.Ga is not a function
error in issue #253. Try using the make.sh utility to make your own custom curl.js. (You may have to run it from the bin/
folder. I always run it from there.) There are examples of how to use make.sh in the make-all.sh file.
Note: make.sh only works with curl's shims, loaders, and plugins.
Released in 0.8.9. :)
Hello curlers,
originally I got stuck on
so I thought I put some wrong files and tried to use the pre-built kitchen-sink edition instead, but it yields:
so... what can I do to get the loader working?
Thanks in advance, MK