Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4116

change format of JSON map names so they can be JavaScript identifiers

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      In Javascript, if you have an hash (map) object in a variable, e.g. "cas", you reference the value of a key using {{ cas["keyname"] }} or, better: {{ cas.keyname }}. For the 2nd form to work, keyname must be a valid Javascript name. Names like @views are not valid. So change these to forms e.g. _views which are valid.

        Attachments

          Activity

            People

            • Assignee:
              schor Marshall Schor
              Reporter:
              schor Marshall Schor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: