user455625
user455625

Reputation: 33

jquery compress error

http://pastebin.com/WfsVZ4nU

i got the following error when i compressed my javascript code.

Upvotes: 1

Views: 172

Answers (3)

Mic
Mic

Reputation: 25184

Try to use JSLint, it is a series of checks that parse your Javascript and look for potential problems.

At the beginning, it is painful to use as many errors appear.
But then, it becomes a very useful safety net, to write solid JS that compress well.

And usually it can be easily integrated in your IDE so you forget it.
eg: It can check the JS each times you save the file.

Upvotes: 0

Dan Beam
Dan Beam

Reputation: 3927

Missing semi-colons on (at least) lines 194 and 199.

Upvotes: 0

pepkin88
pepkin88

Reputation: 2756

When code is minified it is important not to miss any semicolon. Please check your code here and put semicolon, where is needed (Lines 194 and 199).

Upvotes: 2

Related Questions