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