vendor/optional/backbone-relational-0.4.0.js
function( name ) {
			var type = _.reduce( name.split('.'), function( memo, val ) {
				return memo[ val ];
			}, exports);
			return type !== exports ? type: null;
		}
function( name ) {
			var type = _.reduce( name.split('.'), function( memo, val ) {
				return memo[ val ];
			}, exports);
			return type !== exports ? type: null;
		}
function ( name ) { var type = _ . reduce ( name . split ( '.' ) , function ( memo , val ) { return memo [ val ] ; } , exports ) ; return type !== exports ? type : null ; }
Find a type on the global object by name. Splits name on dots.
@param {string} name
Find a type on the global object by name . Splits name on dots .