tao-test/app/taoQtiItem/views/js/qtiCreator/model/RubricBlock.js

21 lines
461 B
JavaScript

define([
'lodash',
'taoQtiItem/qtiCreator/model/mixin/editable',
'taoQtiItem/qtiItem/core/RubricBlock'
], function(_, editable, RubricBlock){
"use strict";
var methods = {};
_.extend(methods, editable);
_.extend(methods, {
getDefaultAttributes : function(){
return {
'view' : ['candidate'],
'use' : ''
};
}
});
return RubricBlock.extend(methods);
});