-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
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.