Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-250

JS validation reports errors in jQuery

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JS
    • Labels:

      Description

      Installed plain 2.0, added jquery, created new project. Two errors shown in jquery.js, which clearly is legal cross platform javascript:

      Description Resource Path Location Type
      Description: Syntax error on token ",", ; expected
      Resource: jquery-1.3.2.js
      Path: /MyWebProject/lib/jquery
      Location: line 16
      Type: JavaScript Problem

      // Will speed up references to window, and allows munging its name.
      --> window = this,
      // Will speed up references to undefined, and allows munging its name.
      undefined,
      

      Description: String literal is not properly closed by a double-quote
      Resrouce: jquery-1.3.2.js
      Path: /MyWebProject/lib/jquery
      Location: line 1659
      Type: JavaScript Problem

          match: {
          ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
          CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
      --> NAME: /[name=['"]((?:[\w\u00c0-\uFFFF_-]|\.)+)['"]]/,
          ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
          TAG: /^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,
          CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
          POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
          PSEUDO: /:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/
      },
      

        Attachments

          Activity

            People

            • Assignee:
              klindsey Kevin Lindsey
              Reporter:
              andrewshebanow Andrew Shebanow
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code