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

META: Migrate use of YUI2 in core

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_27_STABLE
    • Epic Name:
      Migrate YUI2

      Description

      A single place to catch all of the YUI2 -> YUI3 migrations within core.

      Still used in:

      blocks/private_files/module.js
      comment/comment.js
      files/index.php
      grade/edit/tree/functions.js
      group/clientlib.js
      lib/form/dateselector.php
      lib/form/datetimeselector.php
      lib/form/searchableselector.js
      lib/form/yui/dateselector/dateselector.js
      mod/assign/module.js
      mod/chat/gui_ajax/module.js
      mod/folder/module.js
      mod/imscp/module.js
      mod/lti/settings.php
      mod/lti/submissions.js
      mod/lti/view.php
      mod/quiz/edit.js
      mod/survey/survey.js
      mod/wiki/module.js
      portfolio/download/helper.js
      question/qbank.js
      report/completion/textrotate.js
      report/progress/textrotate.js
      repository/filepicker.js
      tag/tag.js
      user/module.js
      

      Of this list:

      • items which use textrotate to support IE<=8:
        • report/completion/textrotate.js
        • report/progress/textrotate.js
      • items which use yui2-treeview:
        • blocks/private_files/module.js
        • mod/assign/module.js
        • mod/folder/module.js
        • mod/imscp/module.js
        • mod/wiki/module.js
        • repository/filepicker.js
        • user/module.js
      • items which use YUI2.util.XHR:
        • tag/tag.js

      There are others. Here's the complete list of uses:

      blocks/private_files/module.js:    Y.use('yui2-treeview', function(Y) {
      grade/edit/tree/functions.js:YUI().use('yui2-dom', 'yui2-element', function (Y) {
      grade/edit/tree/functions.js:YUI().use('yui2-dom', function (Y) {
      grade/edit/tree/functions.js:YUI().use('yui2-dom', function (Y) {
      group/clientlib.js:    YUI().use('yui2-dom', function (Y) {
      group/clientlib.js:    YUI().use('yui2-dom', function (Y) {
      lib/form/searchableselector.js:        YUI().use('yui2-event', function(Y) {
      lib/form/yui/dateselector/dateselector.js:}, '@VERSION@', {requires:['base','node','overlay', 'yui2-calendar', 'moodle-form-dateselector-skin']});
      lib/javascript-static.js:    YUI().use('yui2-container', 'yui2-event', function(Y) {
      mod/assign/module.js:    Y.use('yui2-treeview', function(Y) {
      mod/chat/gui_ajax/index.php:    'requires'  => array('base', 'dom', 'event', 'event-mouseenter', 'event-key', 'json-parse', 'io', 'overlay', 'yui2-resize', 'yui2-layout', 'yui2-menu'),
      mod/folder/module.js:    Y.use('yui2-treeview', function(Y) {
      mod/imscp/module.js:    Y.use('yui2-resize', 'yui2-dragdrop', 'yui2-container', 'yui2-button', 'yui2-layout', 'yui2-treeview', 'yui2-json', 'yui2-event', function(Y) {
      mod/lti/grade.php:    'requires'  => array('base', 'yui2-datatable'),
      mod/lti/settings.php:    YUI().use('yui2-tabview', 'yui2-datatable', function(Y) {
      mod/lti/view.php:            YUI().use("yui2-dom", function(Y) {
      mod/quiz/edit.js:YUI().use('yui2-event', function(Y) {
      mod/quiz/edit.php:    'requires'  => array('yui2-dom', 'yui2-event', 'yui2-container'),
      mod/quiz/mod_form.php:                'requires'  => array('yui2-dom', 'yui2-event', 'yui2-container'),
      mod/survey/view.php:        'requires'  => array('yui2-event'),
      mod/wiki/module.js:    Y.use('yui2-treeview', function(Y) {
      portfolio/download/helper.js:YUI().use('yui2-dom', function(Y) {
      question/editlib.php:                'requires'  => array('yui2-dom', 'yui2-event', 'yui2-container'),
      question/editlib.php:        'requires'  => array('yui2-dom', 'yui2-event', 'yui2-container'),
      report/completion/textrotate.js:YUI().use('yui2-dom', function(Y) {
      report/progress/textrotate.js:YUI().use('yui2-dom', function(Y) {
      repository/filepicker.js:    requires:['base', 'node', 'yui2-treeview', 'panel', 'cookie', 'datatable', 'datatable-sort']
      tag/tag.js:YUI().use('yui2-autocomplete', 'yui2-datasource', 'yui2-animation', 'yui2-connection', function(Y) {
      tag/tag.js:        YUI().use('yui2-event', function(Y) {
      user/module.js:    Y.use('yui2-treeview', function(Y) {
      

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dobedobedoh Andrew Nicols
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: