Hi

J don't use to systematically look after my error in Web tool.... But now I can see :
"SyntaxError : expected expression, got'<' responds.min.js : 1 :0"

The site seems to work but ...

Thank you for your help

Comments

altbzh1 created an issue. See original summary.

rupl’s picture

Component: Libraries API » Code
Category: Bug report » Support request
Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

I'm guessing if you're having troubles with the first character of this script, it's a problem with the JavaScript that came directly beforehand in your HTML. Unfortunately without any other info that's the best guess I can make.

altbzh1’s picture

Hi,

How can I give you more info ? or how can I repair Javascript ?

Thank you

rupl’s picture

Normally a link to a demo site or something helps, but I am traveling right now and can't really debug this for you.. sorry!

Try running your custom JS (or the aggregates that Drupal generates) through a linter: http://www.jslint.com/

The linter will report problems with your JS. If there's something hard to spot like a missing semicolon or brace, it dramatically changes the code and can break aggregates within Drupal, making well-tested code like respond.js seem like it has problems.

altbzh1’s picture

ok thank you, I will try

Prancz_Adam’s picture

I have checked with jslint ant there are couple of errors inside.
After aggregation enabled the respond.min.js can not aggregate and the file linked from the source is totaly empty.

astonvictor’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.