Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: JavaScript
    • Labels:

      Description

      There are three different filter options available when loading files with the YUI loader:

      • unset;
      • RAW; and
      • DEBUG.

      When unset, the filter will load the minified version of the code.
      When RAW, the filter will load the non-minified version, but with all debugging removed (specifically, all uses of Y.log).
      When DEBUG, the filter loads the (almost) untouched version of the code.

      At present, when $CFG->debug is set, we use the RAW files rather than the DEBUG. This is because the DEBUG versions of the core YUI code possibly give too much verbosity.

      However, now that MDL-37127 has landed, we probably want to return the DEBUG versions of Moodle modules, and the RAW versions of YUI modules.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13