derrida
asked on
problem combining and minifying javascript files
hi
i am trying to use: minify to combine and minify my javascript files.
i have about 7 files.
but without it all works and after that nothing works.
what can be the problem?
maybe i sould still give 7 request but for each minifies version?
i really thought that this would be simple sice i do the same with my css and it works great.
best regards
i am trying to use: minify to combine and minify my javascript files.
i have about 7 files.
but without it all works and after that nothing works.
what can be the problem?
maybe i sould still give 7 request but for each minifies version?
i really thought that this would be simple sice i do the same with my css and it works great.
best regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<<can i use it when developing on my local machine?>>
Yes
<<and another question: it just minify but not combine files?>>
It just minifies, but it doesn't combines.
You can combine the files and give it to this tool for minification
Yes
<<and another question: it just minify but not combine files?>>
It just minifies, but it doesn't combines.
You can combine the files and give it to this tool for minification
ASKER
hmmm well since i`m not a javascript guy, and i use various plugins and some of my own code, i`m not sure how to combine them.
will there be problems with each plugin use of the jquery ready code?
do i need to mess with the plugins code? i prefer not.
can i just paste each file to the textaria one after another and then minify?
best regards
will there be problems with each plugin use of the jquery ready code?
do i need to mess with the plugins code? i prefer not.
can i just paste each file to the textaria one after another and then minify?
best regards
<<can i just paste each file to the textaria one after another and then minify?>>
Yes
Yes
ASKER
hi
i have tried to paste the files and got these errors, maybe you can tell me what i can do about them?
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 1038 character 1
}
^
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 1048 character 1
}
^
best regards
i have tried to paste the files and got these errors, maybe you can tell me what i can do about them?
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 1038 character 1
}
^
JSC_TRAILING_COMMA: Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and objects will not parse at all. at line 1048 character 1
}
^
best regards
can you post the line 1038 and 1048?
Also, this compiler has a fairly extensive documentation on these error code and suggestions for them. please have a look at that website
Also, this compiler has a fairly extensive documentation on these error code and suggestions for them. please have a look at that website
ASKER
i`ll read there.
regarding the lines: its 7 documents so i have no idea yet where they are.
in any case i really appriciate your help, it was very needed.
regarding the lines: its 7 documents so i have no idea yet where they are.
in any case i really appriciate your help, it was very needed.
ASKER
great tool and great help
ASKER
first thanks for the answer.
can i use it when developing on my local machine?
and another question: it just minify but not combine files?
best regards