module.js
Function add_handles
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
M.block_lw_courses.add_handles = function(Y) {
M.block_lw_courses.Y = Y;
var MOVEICON = {
pix: "i/move_2d",
component: 'moodle'
Function CollapsibleRegion
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
M.block_lw_courses.CollapsibleRegion = function(Y, id, userpref, strtooltip) {
// Record the pref name.
this.userpref = userpref;
// Find the divs in the document.