Files
edx-platform/common/lib/xmodule/xmodule/js/src/html/display.js
Michael Terry a34c8c8233 Drop remaining coffee use
This basically commits the transpiled CoffeeScript JS (with minor
cleanup) and removes coffee build support.

A tiny amount of support for xblocks exists, because external users
may have xblocks with coffee. But no coffee in our tree anyway.
2018-04-13 14:10:40 -04:00

27 lines
746 B
JavaScript

// Once generated by CoffeeScript 1.9.3, but now lives as pure JS
/* eslint-disable */
(function() {
this.HTMLModule = (function() {
function HTMLModule(element) {
this.element = element;
this.el = $(this.element);
JavascriptLoader.executeModuleScripts(this.el);
Collapsible.setCollapsibles(this.el);
if (typeof MathJax !== "undefined" && MathJax !== null) {
MathJax.Hub.Queue(["Typeset", MathJax.Hub, this.el[0]]);
}
if (typeof setupFullScreenModal !== "undefined" && setupFullScreenModal !== null) {
setupFullScreenModal();
}
}
HTMLModule.prototype.$ = function(selector) {
return $(selector, this.el);
};
return HTMLModule;
})();
}).call(this);