Base.js
591 Bytes
define(
[],
function() {
/* global console */
'use strict';
console.log('ofbiz/model/Base: loaded');
var Base = {
createRequiredChecker: function(label) {
return function() {
console.log(label + ':required');
return this._isRequired;
};
},
createRequiredValidator: function(label) {
return {
required: Base.createRequiredChecker(),
};
},
};
return Base;
}
);