src/core/base/wnModule.js
function (scripts)
		{
			var script = {};
			for (s in scripts)
			{
				var ref=scripts[s],
					scriptName = s.substr(0,1).toUpperCase()+s.substr(1).toLowerCase(),
					s = 'script-'+s.replace('-','.');
				script[s]=ref;
				script[s].class='wnScript'+scriptName || 'wnScript';
				_componentsConfig[s]=_.merge({}, script[s]);
			}
			return this;
		}
function (scripts)
		{
			var script = {};
			for (s in scripts)
			{
				var ref=scripts[s],
					scriptName = s.substr(0,1).toUpperCase()+s.substr(1).toLowerCase(),
					s = 'script-'+s.replace('-','.');
				script[s]=ref;
				script[s].class='wnScript'+scriptName || 'wnScript';
				_componentsConfig[s]=_.merge({}, script[s]);
			}
			return this;
		}
function ( scripts ) { var script = { } ; for ( s in scripts ) { var ref = scripts [ s ] , scriptName = s . substr ( 0 , 1 ) . toUpperCase ( ) + s . substr ( 1 ) . toLowerCase ( ) , s = 'script-' + s . replace ( '-' , '.' ) ; script [ s ] = ref ; script [ s ] . class = 'wnScript' + scriptName || 'wnScript' ; _componentsConfig [ s ] = _ . merge ( { } , script [ s ] ) ; } return this ; }
Set new properties to the respective scripts
@param OBJECT $scripts scripts configurations
Set new properties to the respective scripts