ICEfaces
  1. ICEfaces
  2. ICE-9809

Fix warnings raised by the JS compression tool

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Javascript

      Description

      Need to fix warnings raised by the ClosureCompiler tool. Most of the warnings that were manually checked are valid.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Fix Version/s 4.0 [ 10770 ]
        Hide
        Mircea Toma added a comment -

        Fixed warnings raised by ClosureCompiler. Also added compilation flags to turn off warnings for misplaced annotations and useless code.

        The misplaced annotation warnings are caused by the JSDoc annotations YUI uses but they are not compatible with the ones expected by ClosureCompiler.

        The found useless code is code that results after processing the *-debug.js files to remove the logging calls.

        Show
        Mircea Toma added a comment - Fixed warnings raised by ClosureCompiler. Also added compilation flags to turn off warnings for misplaced annotations and useless code. The misplaced annotation warnings are caused by the JSDoc annotations YUI uses but they are not compatible with the ones expected by ClosureCompiler. The found useless code is code that results after processing the *-debug.js files to remove the logging calls.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39882 Tue Feb 04 13:44:44 MST 2014 mircea.toma ICE-9809 Fixed warnings raised by ClosureCompiler. Also added compilation flags to turn off warning for misplaced annotations and useless code.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/yui/2_8_2/yahoo/yahoo-debug.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/yui/2_8_2/element/element-debug.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/yui/2_8_2/yahoo/yahoo.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/maskedentry/maskedentry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/jquery-ui-timepicker-addon.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/yui/2_8_2/element/element.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/build.xml
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: