Files
edx-platform/xmodule/js/src/discussion/display.js
2022-06-20 18:20:06 +05:00

22 lines
768 B
JavaScript

// Once generated by CoffeeScript 1.9.3, but now lives as pure JS
/* eslint-disable */
(function() {
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
this.InlineDiscussion = (function(superClass) {
extend(InlineDiscussion, superClass);
function InlineDiscussion(element) {
this.el = $(element).find('.discussion-module');
this.view = new DiscussionInlineView({
el: this.el
});
}
return InlineDiscussion;
})(XModule.Descriptor);
}).call(this);