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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 9.5.1
    • 9.5.0
    • General
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved:

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