Load elFinder with requirejs from Mako template

PySite‘s UI needs several JavaScript libraries which I would like to load asynchronously. Requirejs is a nice tool to achieve this.

Some libraries are used by all pages, like jQuery, and others are used only by certain pages, like elFinder is needed only on the page of the FileManager ...

more ...