How to declare 2 function in a module requirejs
Hi i have a module require.js :
define([], function() {
return {
test:function (value,element,params )
{
if (value.length == 0 && params.mandatory === "True")
return false;
return true;
}
}
});
I need to add a second function "test2" in this module, how can i do this??
No comments:
Post a Comment