Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4731

Fix the warning [JSC_CONSTANT_REASSIGNED_VALUE_ERROR] constant self assigned a value more than once in domtouch.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.5.0
    • Fix Version/s: 9.5.1
    • Component/s: General
    • Labels:
      None

      Description

      Steps to Reproduce

      compile zk

      Current Result

      [java] codegen/archive/web/js/zk/domtouch.src.js:200: WARNING - [JSC_CONSTANT_REASSIGNED_VALUE_ERROR] constant self assigned a value more than once.

      Expected Result

      No warning

      Debug Information

      https://github.com/zkoss/zk/blob/0a4ef77a05e7b070ed7d0eb16aab708c4622b05c/zk/src/archive/web/js/zk/domtouch.js#L200
      weird assigning to self

      Workaround

      No

        Attachments

          Activity

            People

            Assignee:
            rudyhuang rudyhuang
            Reporter:
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h