Forum Moderators: open

Message Too Old, No Replies

Error in jQuery

         

toplisek

12:54 pm on Sep 17, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have noticed and error in jQuery:
Error: SyntaxError: missing } after function body
Source File: jq1.11.1.min.js
Line: 8

What is wrong with this script?

Fotiman

1:03 pm on Sep 17, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Maybe your version of that file is corrupted somehow. I just downloaded a fresh copy of it and I don't see any errors.

toplisek

9:09 am on Sep 18, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have tested and downloaded UNcompressed and compressed file to see where is an error:
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors

I have checked on two PC's. It is the same error.
Error: SyntaxError: missing } after function body
Source File: jq1.11.1.min.js
Line: 8

Fotiman

1:32 pm on Sep 18, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is this only happening when you execute a particular piece of code, because I'm not seeing that error.

toplisek

9:51 am on Oct 2, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a lot of Javascript code.
Is there any professional Javascript debuger which works online (URL managed) not to throw one code.