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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Core Java Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: