Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, EE-1.8.2.GA_P03
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      *

      Description

      The icefaces-compat.js file in IF 2.0 is 515KB delivered to the browser. But the icefaces-extras.js from 1.8 is much smaller than this. (Reported by Ken.)

        Activity

        Hide
        yip.ng added a comment -

        From Mircea:

        icefaces-extras.js contains the collated code from the following files:

        extras.js - 216kb
        prototype.js- 192kb
        scriptaculous/builder.js - 8kb
        scriptaculous/controls.js- 40kb
        scriptaculous/dragdrop.js- 40kb
        scriptaculous/effects.js- 44kb
        scriptaculous/slider.js- 12kb
        scriptaculous/sound.js- 4kb
        scriptaculous/scriptaculous.js- 4kb
        ----------------------------------------
        total- 560kb

        Show
        yip.ng added a comment - From Mircea: icefaces-extras.js contains the collated code from the following files: extras.js - 216kb prototype.js- 192kb scriptaculous/builder.js - 8kb scriptaculous/controls.js- 40kb scriptaculous/dragdrop.js- 40kb scriptaculous/effects.js- 44kb scriptaculous/slider.js- 12kb scriptaculous/sound.js- 4kb scriptaculous/scriptaculous.js- 4kb ---------------------------------------- total- 560kb
        Hide
        yip.ng added a comment -

        From Mircea:

        The compat.js file is built during the compat build, not just committed as a single large file in 2.0.

        Show
        yip.ng added a comment - From Mircea: The compat.js file is built during the compat build, not just committed as a single large file in 2.0.
        Hide
        yip.ng added a comment -

        From Ken:

        Investigate the possibility of removing some of those Scriptaculous modules.

        Show
        yip.ng added a comment - From Ken: Investigate the possibility of removing some of those Scriptaculous modules.
        Hide
        yip.ng added a comment - - edited

        builder.js: to create DOM elements dynamically. No usage found.

        controls.js:
        InPlaceEditor: no usage found.
        InPlaceCollectionEditor: no usage found.
        Autocompleter: customized version already in extras.js. No dependence on original version?

        dragdrop.js: must keep.

        effects.js: must keep.

        scriptaculous.js: must keep.

        slider.js: no usage found.

        sound.js: no usage found.

        Show
        yip.ng added a comment - - edited builder.js: to create DOM elements dynamically. No usage found. controls.js: InPlaceEditor: no usage found. InPlaceCollectionEditor: no usage found. Autocompleter: customized version already in extras.js. No dependence on original version? dragdrop.js: must keep. effects.js: must keep. scriptaculous.js: must keep. slider.js: no usage found. sound.js: no usage found.
        Hide
        yip.ng added a comment -

        builder.js, controls.js, slider.js, sound.js removed from build. Autocomplete tested.

        Revision: 24132


        Modified : /icefaces2/trunk/icefaces/compat/core/build.javascript.xml

        Show
        yip.ng added a comment - builder.js, controls.js, slider.js, sound.js removed from build. Autocomplete tested. Revision: 24132 Modified : /icefaces2/trunk/icefaces/compat/core/build.javascript.xml
        Hide
        yip.ng added a comment -

        Effects and drag and drop tested.

        Show
        yip.ng added a comment - Effects and drag and drop tested.
        Hide
        yip.ng added a comment -

        Changed 1.8 as well.

        Revision: 24133


        Modified : /icefaces/trunk/icefaces/bridge/build.xml

        Show
        yip.ng added a comment - Changed 1.8 as well. Revision: 24133 Modified : /icefaces/trunk/icefaces/bridge/build.xml

          People

          • Assignee:
            yip.ng
            Reporter:
            yip.ng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: