Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-600

JavaScript Closure Compiler is failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11
    • 0.12
    • None
    • 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)

      Attachments

        Activity

          People

            carlucci Tony Carlucci
            carlucci Tony Carlucci
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: