Files
edx-platform/xmodule/js/src/raw/edit/metadata-only.js
2022-06-20 18:20:06 +05:00

25 lines
835 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.MetadataOnlyEditingDescriptor = (function(superClass) {
extend(MetadataOnlyEditingDescriptor, superClass);
function MetadataOnlyEditingDescriptor(element) {
this.element = element;
}
MetadataOnlyEditingDescriptor.prototype.save = function() {
return {
data: null
};
};
return MetadataOnlyEditingDescriptor;
})(XModule.Descriptor);
}).call(this);