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

17 lines
448 B
JavaScript

define(['lodash', 'taoQtiItem/qtiCreator/model/mixin/editable', 'taoQtiItem/qtiItem/core/choices/SimpleChoice'], function(_, editable, Choice){
"use strict";
var methods = {};
_.extend(methods, editable);
_.extend(methods, {
getDefaultAttributes : function(){
return {
'fixed' : false,
'showHide' : 'show'
};
}
});
return Choice.extend(methods);
});