src/loaders/support/LoaderWorkerSupport.js
function ( parser, params ) {
		var property, funcName, values;
		for ( property in params ) {
			funcName = 'set' + property.substring( 0, 1 ).toLocaleUpperCase() + property.substring( 1 );
			values = params[ property ];

			if ( typeof parser[ funcName ] === 'function' ) {

				parser[ funcName ]( values );

			} else if ( parser.hasOwnProperty( property ) ) {

				parser[ property ] = values;

			}
		}
	}
function ( parser, params ) {
		var property, funcName, values;
		for ( property in params ) {
			funcName = 'set' + property.substring( 0, 1 ).toLocaleUpperCase() + property.substring( 1 );
			values = params[ property ];

			if ( typeof parser[ funcName ] === 'function' ) {

				parser[ funcName ]( values );

			} else if ( parser.hasOwnProperty( property ) ) {

				parser[ property ] = values;

			}
		}
	}
function ( parser , params ) { var property , funcName , values ; for ( property in params ) { funcName = 'set' + property . substring ( 0 , 1 ) . toLocaleUpperCase ( ) + property . substring ( 1 ) ; values = params [ property ] ; if ( typeof parser [ funcName ] === 'function' ) { parser [ funcName ] ( values ) ; } else if ( parser . hasOwnProperty ( property ) ) { parser [ property ] = values ; } } }
Applies values from parameter object via set functions or via direct assignment.

@param {Object} parser The parser instance
@param {Object} params The parameter object
Applies values from parameter object via set functions or via direct assignment .