MDL-47494 ddimageortext: NOBUG a few comments for js classes.

This commit is contained in:
Jamie Pratt
2011-08-22 14:51:18 +07:00
parent 8bfaad3b5b
commit dbf87f16be
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -1,8 +1,12 @@
YUI.add('moodle-qtype_ddimagetoimage-dd', function(Y) {
var DDIMAGETOIMAGEDDNAME = 'ddimagetoimage_dd';
var DDIMAGETOIMAGE_DD = function() {
DDIMAGETOIMAGE_DD.superclass.constructor.apply(this, arguments);
}
/**
* This is the base class for the question rendering and question editing form code.
*/
Y.extend(DDIMAGETOIMAGE_DD, Y.Base, {
doc : null,
polltimer : null,
@@ -213,6 +217,9 @@ YUI.add('moodle-qtype_ddimagetoimage-dd', function(Y) {
var DDIMAGETOIMAGE_QUESTION = function() {
DDIMAGETOIMAGE_QUESTION.superclass.constructor.apply(this, arguments);
};
/**
* This is the code for question rendering.
*/
Y.extend(DDIMAGETOIMAGE_QUESTION, M.qtype_ddimagetoimage.dd_base_class, {
initializer : function(params) {
this.doc = this.doc_structure(this);
+3
View File
@@ -1,3 +1,6 @@
/**
* This is the question editing form code.
*/
YUI.add('moodle-qtype_ddimagetoimage-form', function(Y) {
var DDIMAGETOIMAGEFORMNAME = 'ddimagetoimage_form';
var DDIMAGETOIMAGE_FORM = function() {