Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5260

Minification strips quotes from "true" and "false" keys; breaks IE8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: Build Scripts
    • Labels:
      None

      Description

      The ModelTransformation code has an object that uses "true" and "false" as keys:

      fluid.defaults("fluid.transforms.condition", {
      gradeNames: [ "fluid.multiInputTransformFunction", "fluid.standardOutputTransformFunction" ],
      inputVariables:

      { "true": null, "false": null, "condition": null }

      });

      For some reason, the minification process strips the quotes from the keys in this object, and the resulting JS causes an error in IE8, "Expected identifier, string or number" and the entire file fails to load, leading to fluid undefined, jquery undefined, etc.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            anastasia Anastasia Cheetham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: