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