index.js
function () {
                        var ccId,
                            proto = getProto(this),
                            cId   = proto.constructor.__get_protolib_id__,
                            lib   = {},
                            i     = 0,
                            last  = null,
                            m;

                        currentThis = this;

                        do {
                            ccId = proto.constructor.__get_protolib_id__;
                            if(cached[ccId] && i === 0) {
                                return cached[ccId];
                            }
                            else if(cached[ccId]) {
                                for(m in cached[ccId])
                                    if(cached[ccId].hasOwnProperty(m)) lib[m] = cached[ccId][m];

                                if(!inheritanceChain[cId]) inheritanceChain[cId] = [];
                                inheritanceChain[cId] = inheritanceChain[ccId].concat(inheritanceChain[cId]);
                                cached[cId] = lib;
                                return lib;
                            }
                            else {
                                if(!libp[ccId]) libp[ccId] = {};
                                for(m in libp[ccId])
                                    if(libp[ccId].hasOwnProperty(m)) lib[m] = libp[ccId][m];

                                    if(!inheritanceChain[ccId]) inheritanceChain[ccId] = [];
                                    inheritanceChain[cId].unshift(ccId);

                                cached[cId] = lib;
                                last = ccId;
                            }

                            ++i;
                        }
                        while (proto = getProto(proto)); // jshint ignore:line

                        lib.__protolib_cId__ = cId;
                        return lib;
                    }
function () {
                        var ccId,
                            proto = getProto(this),
                            cId   = proto.constructor.__get_protolib_id__,
                            lib   = {},
                            i     = 0,
                            last  = null,
                            m;

                        currentThis = this;

                        do {
                            ccId = proto.constructor.__get_protolib_id__;
                            if(cached[ccId] && i === 0) {
                                return cached[ccId];
                            }
                            else if(cached[ccId]) {
                                for(m in cached[ccId])
                                    if(cached[ccId].hasOwnProperty(m)) lib[m] = cached[ccId][m];

                                if(!inheritanceChain[cId]) inheritanceChain[cId] = [];
                                inheritanceChain[cId] = inheritanceChain[ccId].concat(inheritanceChain[cId]);
                                cached[cId] = lib;
                                return lib;
                            }
                            else {
                                if(!libp[ccId]) libp[ccId] = {};
                                for(m in libp[ccId])
                                    if(libp[ccId].hasOwnProperty(m)) lib[m] = libp[ccId][m];

                                    if(!inheritanceChain[ccId]) inheritanceChain[ccId] = [];
                                    inheritanceChain[cId].unshift(ccId);

                                cached[cId] = lib;
                                last = ccId;
                            }

                            ++i;
                        }
                        while (proto = getProto(proto)); // jshint ignore:line

                        lib.__protolib_cId__ = cId;
                        return lib;
                    }
function ( ) { var ccId , proto = getProto ( this ) , cId = proto . constructor . __get_protolib_id__ , lib = { } , i = 0 , last = null , m ; currentThis = this ; do { ccId = proto . constructor . __get_protolib_id__ ; if ( cached [ ccId ] && i === 0 ) { return cached [ ccId ] ; } else if ( cached [ ccId ] ) { for ( m in cached [ ccId ] ) if ( cached [ ccId ] . hasOwnProperty ( m ) ) lib [ m ] = cached [ ccId ] [ m ] ; if ( ! inheritanceChain [ cId ] ) inheritanceChain [ cId ] = [ ] ; inheritanceChain [ cId ] = inheritanceChain [ ccId ] . concat ( inheritanceChain [ cId ] ) ; cached [ cId ] = lib ; return lib ; } else { if ( ! libp [ ccId ] ) libp [ ccId ] = { } ; for ( m in libp [ ccId ] ) if ( libp [ ccId ] . hasOwnProperty ( m ) ) lib [ m ] = libp [ ccId ] [ m ] ; if ( ! inheritanceChain [ ccId ] ) inheritanceChain [ ccId ] = [ ] ; inheritanceChain [ cId ] . unshift ( ccId ) ; cached [ cId ] = lib ; last = ccId ; } ++ i ; } while ( proto = getProto ( proto ) ) ; // jshint ignore:line lib . __protolib_cId__ = cId ; return lib ; }
Returns the libp library...
Returns the libp library ...