tao-test/app/taoQtiItem/views/js/qtiCreator/widgets/states/Custom.js

7 lines
355 B
JavaScript
Raw Normal View History

2022-08-29 20:14:13 +02:00
define(['taoQtiItem/qtiCreator/widgets/states/factory'], function(stateFactory){
return stateFactory.create('custom', ['answer', 'active'], function(){
throw new Error('state "custom" prototype init method must be implemented');
},function(){
throw new Error('state "custom" prototype exit method must be implemented');
});
});