blob: 54eba82a7abc63aca6c8d5bdd7f9f28e058456bb [file] [log] [blame]
var PropertyInterface = (function() {
return function(propertyName, propertyGroup) {
var interfaceFunction = {
_name: propertyName
}
function _propertyGroup(val){
val = val === undefined ? 1 : val
if(val <= 0){
return interfaceFunction;
} else {
return propertyGroup(--val);
}
}
return _propertyGroup;
}
}())