Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: JavaScript usage guide.

Development:JavaScript usage guide

From MoodleDocs

Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.


Javascript usage guide
Project state Work in progress
Tracker issue MDL-21240
Discussion n/a, developer chat only
Assignee Petr Škoda (škoďák) + feedback and ideas from Sam and Dongsheng, Based on previous work of Nicolas and Tim

Moodle 2.0



Goals

  • standardised usage of Javascript code in Moodle
  • improved performance
  • improve and simplify JS related APIs

API overview

Examples

Code migration

Performance