src/require/load.js
function _gpfRequireLoad (name) {
    var me = this;
    return _gpfLoadOrPreload(me, name)
        .then(function (content) {
            return me.preprocess({
                name: name,
                content: content,
                type: _gpfPathExtension(name).toLowerCase()
            });
        })
        .then(function (resource) {
            return _gpfLoadGetProcessor(resource).call(me, resource.name, resource.content);
        });
}
function _gpfRequireLoad (name) {
    var me = this;
    return _gpfLoadOrPreload(me, name)
        .then(function (content) {
            return me.preprocess({
                name: name,
                content: content,
                type: _gpfPathExtension(name).toLowerCase()
            });
        })
        .then(function (resource) {
            return _gpfLoadGetProcessor(resource).call(me, resource.name, resource.content);
        });
}
function _gpfRequireLoad ( name ) { var me = this ; return _gpfLoadOrPreload ( me , name ) . then ( function ( content ) { return me . preprocess ( { name : name , content : content , type : _gpfPathExtension ( name ) . toLowerCase ( ) } ) ; } ) . then ( function ( resource ) { return _gpfLoadGetProcessor ( resource ) . call ( me , resource . name , resource . content ) ; } ) ; }
Load the resource

@param {String} name Resource name
@return {Promise<*>} Resolved with the resource result
@since 0.2.2
Load the resource