Rave
  1. Rave
  2. RAVE-600

JavaScript Closure Compiler is failing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11
    • Fix Version/s: 0.12
    • Component/s: None
    • Labels:
      None

      Description

      The Google Closure compiler, through the wro4j maven plugin, is failing to minify the combined rave_all.min.js file:

      May 2, 2012 10:51:44 AM com.google.javascript.jscomp.LoggerErrorManager println
      SEVERE: wro4j-processed-file.js:136: ERROR - Parse error. invalid property id
      float:false,
      ^

      May 2, 2012 10:51:44 AM com.google.javascript.jscomp.LoggerErrorManager println
      SEVERE: wro4j-processed-file.js:136: ERROR - Parse error. syntax error
      float:false,
      ^

      May 2, 2012 10:51:44 AM com.google.javascript.jscomp.LoggerErrorManager println
      SEVERE: wro4j-processed-file.js:137: ERROR - Parse error. syntax error
      tab:false
      ^

      "float" is a reserved word and needs to be in quotes to be used as a property name. (rave.js line 136 is the line that needs to be fixed)

        Activity

        Raminderjeet Singh made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Anthony Carlucci made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 0.12 [ 12321248 ]
        Resolution Fixed [ 1 ]
        Anthony Carlucci made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Anthony Carlucci created issue -

          People

          • Assignee:
            Anthony Carlucci
            Reporter:
            Anthony Carlucci
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development