tao-test/app/taoQtiItem/views/js/qtiCreator/model/choices/AssociableHotspot.js

29 lines
656 B
JavaScript
Raw Normal View History

2022-08-29 20:14:13 +02:00
/**
* @author Bertrand Chevrier <bertrand@taotesting.com>
*/
define([
'lodash',
'taoQtiItem/qtiCreator/model/mixin/editable',
'taoQtiItem/qtiItem/core/choices/AssociableHotspot'
], function(_, editable, Choice){
"use strict";
var methods = {};
_.extend(methods, editable);
_.extend(methods, {
/**
* Set the default values for the model
* @returns {Object} the default attributes
*/
getDefaultAttributes : function(){
return {
matchMax : 0,
matchMin : 0
};
}
});
return Choice.extend(methods);
});