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
LVL 1
derridaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gurvinder Pal SinghCommented:
i have tried this google closure compiler and it works (its free too)
http://code.google.com/closure/compiler/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
derridaAuthor Commented:
hi
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
0
Gurvinder Pal SinghCommented:
<<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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

derridaAuthor Commented:
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
0
Gurvinder Pal SinghCommented:
<<can i just paste each file to the textaria one after another and then minify?>>
Yes
0
derridaAuthor Commented:
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
0
Gurvinder Pal SinghCommented:
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
0
derridaAuthor Commented:
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.
0
derridaAuthor Commented:
great tool and great help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.