Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38284 META: Improve core JavaScript processes, etc
  3. MDL-38389

Allow for use of debug versions of Moodle YUI modules

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • JavaScript

      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.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Damyon Wiese Damyon Wiese
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.