Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8394

Convert JS to AMD ES6 modules

XMLWordPrintable

      https://tracker.moodle.org/browse/MDL-70661

      Description

      The Javascript included in the plugin is written using the Shifted YUI format which has been deprecated and is no longer accepted for new code included in core.
      Severity

      High. Moodle LMS is actively working to remove older Javascript with the aim to remove support for it in a future release.
      Proposed solution

      The Javascript code located in yui/src should be rewritten as ES6 modules which are located in amd/src. This body of work has several side benefits as it will allow for removal of old and unused, code, and improved consistency with other interactions in core.
      Difficulty

      Medium. Whilst this activity may be potentially time-consuming, it should not be a difficult task.

            jfederico Jesus Federico
            jfederico Jesus Federico
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.