src/index.js
function initLibraries(cfg = {}) {
	_.each(configMap, (keys, libName) => {
		let lib = libs[libName];
		let options = {};
		_.each(keys, (key) => options[key] = cfg[key]);
		lib.setOptions && lib.setOptions(options);
	});
}
function initLibraries(cfg = {}) {
	_.each(configMap, (keys, libName) => {
		let lib = libs[libName];
		let options = {};
		_.each(keys, (key) => options[key] = cfg[key]);
		lib.setOptions && lib.setOptions(options);
	});
}
function initLibraries ( cfg = { } ) { _ . each ( configMap , ( keys , libName ) => { let lib = libs [ libName ] ; let options = { } ; _ . each ( keys , ( key ) => options [ key ] = cfg [ key ] ) ; lib . setOptions && lib . setOptions ( options ) ; } ) ; }
Iterates over each libraries and call setOptions with the relevant options.

@private

@param  {Object} cfg 	All configuration options relevant to the libraries
Iterates over each libraries and call setOptions with the relevant options .