lost+found/src/attributes/class.js
function _gpfBuildPropertyFunc (template, member) {
    var src,
        params,
        start,
        end;
    // Replace all occurrences of _MEMBER_ with the right name
    src = template.toString().split("_MEMBER_").join(member);
    // Extract parameters
    start = src.indexOf("(") + 1;
    end = src.indexOf(")", start) - 1;
    params = src.substr(start, end - start + 1).split(",").map(function (name) {
        return name.trim();
    });
    // Extract body
    start = src.indexOf("{") + 1;
    end = src.lastIndexOf("}") - 1;
    src = src.substr(start, end - start + 1);
    return _gpfFunc(params, src);
}
function _gpfBuildPropertyFunc (template, member) {
    var src,
        params,
        start,
        end;
    // Replace all occurrences of _MEMBER_ with the right name
    src = template.toString().split("_MEMBER_").join(member);
    // Extract parameters
    start = src.indexOf("(") + 1;
    end = src.indexOf(")", start) - 1;
    params = src.substr(start, end - start + 1).split(",").map(function (name) {
        return name.trim();
    });
    // Extract body
    start = src.indexOf("{") + 1;
    end = src.lastIndexOf("}") - 1;
    src = src.substr(start, end - start + 1);
    return _gpfFunc(params, src);
}
function _gpfBuildPropertyFunc ( template , member ) { var src , params , start , end ; // Replace all occurrences of _MEMBER_ with the right name src = template . toString ( ) . split ( "_MEMBER_" ) . join ( member ) ; // Extract parameters start = src . indexOf ( "(" ) + 1 ; end = src . indexOf ( ")" , start ) - 1 ; params = src . substr ( start , end - start + 1 ) . split ( "," ) . map ( function ( name ) { return name . trim ( ) ; } ) ; // Extract body start = src . indexOf ( "{" ) + 1 ; end = src . lastIndexOf ( "}" ) - 1 ; src = src . substr ( start , end - start + 1 ) ; return _gpfFunc ( params , src ) ; }
Builds a new property function

@param {Boolean} template Template to be used
@param {String} member Value of _MEMBER_
@return {Function}
Builds a new property function