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

Upgrade loglevel.js to 1.5.1 for Moodle 3.4 release

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.4
    • Libraries
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • wip-MDL-60285-master
    • Hide

      Testing instructions stolen from MDL-56010

      1. Create this test template in lib/templates/test.mustache

        {{!                                                                                                                                 
            @template core/test                                                                                                             
                                                                                                                                            
            Testing template.                                                                                                               
                                                                                                                                            
            Example context (json):                                                                                                         
            { "messa"ge": "Your pants are on fire!" }                                                                                       
        }}                                                                                                                                  
        <div class="alert alert-success">{{{message}}}</div>
        

      2. Set debugging to 'Developer'.
      3. Go to the Template Library admin tool and view the test template with your javascript console open. Confirm that you see "Could not parse json example context for template." with a stack trace etc.
      4. Set the loglevel to "None". You may need to force a cache reload. Repeat the test. Confirm that you don't see any message in the javascript console this time.
      Show
      Testing instructions stolen from MDL-56010 Create this test template in lib/templates/test.mustache {{! @template core/test Testing template. Example context (json): { "messa"ge": "Your pants are on fire!" } }} <div class="alert alert-success">{{{message}}}</div> Set debugging to 'Developer'. Go to the Template Library admin tool and view the test template with your javascript console open. Confirm that you see "Could not parse json example context for template." with a stack trace etc. Set the loglevel to "None". You may need to force a cache reload. Repeat the test. Confirm that you don't see any message in the javascript console this time.
    • 3.4 Sprint 5

    Description

      loglevel.js
      /lib/amd/src/loglevel.js
      1.4.1 -> 1.5.0
      https://github.com/pimterry/loglevel

      Attachments

        Activity

          People

            abgreeve Adrian Greeve
            marina Marina Glancy
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            David Monllaó David Monllaó
            David Monllaó David Monllaó
            David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Nov/17