blob: af8fe5788c3c6f60b5da67146de7dadee3962cc3 [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;
};
}());