Hello,
I am trying to understand how AEM's core library works, with as example this `EditorKernel.js` file in the CRXDE located at "/libs/clientlibs/granite/richtext/core/js/EditorKernel.js".
As you can see in its Class declaration syntax below, it is not how we normally declare JavaScript classes. It looks like it is using MooTools (https://mootools.net/core) by passing an object into a class function?
CUI.rte.EditorKernel = new Class({
//...
});
However, I am not able to find anywhere that references MooTools as a dependency, not in CRXDE nor the Sources tab of the Chrome inspector.
Could someone help me understand:
- Where is the MooTools dependency referenced?
- If it is not using MooTools, then how to explain the non-standard javascript syntax?
Thanks,