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

AMD modules using Y global without requiring core/yui

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: JavaScript, Navigation
    • Labels:

      Description

      When rebasing MDL-52127 I found:

      /Users/danp/moodles/pm/moodle/blocks/navigation/amd/src/navblock.js
        30:17  error  'Y' is not defined  no-undef
        31:21  error  'Y' is not defined  no-undef
        38:17  error  'Y' is not defined  no-undef
        39:21  error  'Y' is not defined  no-undef
       
      /Users/danp/moodles/pm/moodle/blocks/settings/amd/src/settingsblock.js
        35:17  error  'Y' is not defined  no-undef
        36:21  error  'Y' is not defined  no-undef
        43:17  error  'Y' is not defined  no-undef
        46:17  error  'Y' is not defined  no-undef
        47:21  error  'Y' is not defined  no-undef
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: