build/gpf-debug.js
function _gpfRequireGet(name) {
        var me = this, promise;
        if (me.cache[name]) {
            return me.cache[name];
        }
        promise = _gpfRequireLoad.call(me, name);
        me.cache[name] = promise;
        return promise["catch"](function (reason) {
            _gpfRequireDocumentStack(reason, name);
            return Promise.reject(reason);
        });
    }
function _gpfRequireGet(name) {
        var me = this, promise;
        if (me.cache[name]) {
            return me.cache[name];
        }
        promise = _gpfRequireLoad.call(me, name);
        me.cache[name] = promise;
        return promise["catch"](function (reason) {
            _gpfRequireDocumentStack(reason, name);
            return Promise.reject(reason);
        });
    }
function _gpfRequireGet ( name ) { var me = this , promise ; if ( me . cache [ name ] ) { return me . cache [ name ] ; } promise = _gpfRequireLoad . call ( me , name ) ; me . cache [ name ] = promise ; return promise [ "catch" ] ( function ( reason ) { _gpfRequireDocumentStack ( reason , name ) ; return Promise . reject ( reason ) ; } ) ; }
Get the cached resource or load it

@param {String} name Resource name
@return {Promise<*>} Resource association
@since 0.2.2
Get the cached resource or load it