Uploaded image for project: 'Spring IDE'
  1. Spring IDE
  2. IDE-1238

jQuery Minimized Files Falsely Appear to have Compile Errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.8.1.RELEASE
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      OSX 10.7.3

      Description

      When adding two "minimized" jQuery files to my application (under /resources/js), they both appear to have compile errors. The production source code version of these files (not the minimized version) does not display the compile errors; both versions were downloaded from the jQuery site. I have two other editors, neither of which displays a compile problem for the minimized versions.

      I suspect it's an issue with long lines not being validated correctly.

      I've attached the 2 minimized files. Here are the error markers being reported:

      Description Resource Path Location Type
      Syntax error on token "Invalid Regular Expression Options", no accurate correction available jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 4 JavaScript Problem
      Syntax error on token "Invalid Regular Expression Options", no accurate correction available jquery-ui-1.8.18.custom.min.js /OAC-ui/src/main/webapp/resources/js line 169 JavaScript Problem
      Syntax error, insert ")" to complete Arguments jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 1 JavaScript Problem
      Syntax error, insert "}" to complete ObjectLiteral jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 1 JavaScript Problem

      And - not sure whether this is considered a Major or Minor issue.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            linuxlars Larry D. Wilson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: