Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30659

Serve non-minified YUI3 in developer debug mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.3, 2.2
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      1/ install firebug in FF
      2/ enable Net tab
      3/ review the YUI2 and 3 CSS+JS in normal and dev debug mode
      4/ edit the outputrequirements.php $this->yui3loader->filter = YUI_DEBUG;, test that JS console shows YUI debug and loads debug files

      Show
      1/ install firebug in FF 2/ enable Net tab 3/ review the YUI2 and 3 CSS+JS in normal and dev debug mode 4/ edit the outputrequirements.php $this->yui3loader->filter = YUI_DEBUG;, test that JS console shows YUI debug and loads debug files
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w51_MDL-30659_m23_yuidebug

      Description

      I thought we had already implemented this, except that JS served via theme/yui_combo.php was still coming through as minified, so we need to do more.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Sam Hemelryk
              Tester:
              Gerard Caulfield
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/12