I'm just about to freak out. I currently have to work on a website that some other guy did and I am asked to maintain etc. It uses jQuery and a bunch of drupal modules. At some point i get some syntax error, so that some js works, and some does not. My big big problem is to find the syntax error. Neither Firebug, nor WebInspector give me decent information:
Error: uncaught exception: Syntax error, unrecognized expression: //
Yeah… that's it. No lines, no filename, no more hints. Has anyone an idea how to deal with this?
Thanks for any usefull hints.
you might try a tool like the closure compiler, which will give warnings and errors for blocks of code. otherwise, it's brute force with alert('checkpoint');
to determine how far into your code you get before things break.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With