I opened the file lib/javascript-static.js and read through it, but noticed that there is a namespace (M) used all over the file and used with almost each JS function call in moodle2, my question is where this object is initialized ? there is note on top of the file that says:
Global M object is initilised in inline javascript
but couldn't find any example of this initialization ...
can anybody help me where to find such initialization ?
thanks in advance.