static/js/behaviour.js

Eunomia's client-side logic
Author:
Source:

Methods

(inner) init($, markdownit)

Set up the page
Source:
Parameters:
Name Type Description
$ Object the jQuery object
markdownit Object the markdown-it object

(inner) processLoginPage($)

Tweak the behaviour of the login page
Source:
Parameters:
Name Type Description
$ Object the jQuery object

(inner) processMD($, md)

Find invisible elements containing Markdown, render it, and show the element
Source:
Parameters:
Name Type Description
$ Object the jQuery object
md Object the markdown-it object