classes/BowerMap.js
function copyComponentFiles( name, files ) {
		grunt.verbose.writeln( 'BowerMap::copyComponentFiles - ' + name );
		//get map of files to copy
		var componentMap = getComponentMapping( name, files );

		//copy files
		for ( var k in componentMap ) {
			if ( componentMap.hasOwnProperty( k ) ) {
				//console.log( path.fix( k ) );
				//console.log( path.fix( componentMap[ k ] ) );
				//grunt.file.copy( path.fix( k ), path.fix( componentMap[ k ] ) );
				var replacements = replace ? replace[ name ] || false : false;

                if (  componentMap[ k ] !== false){
                    copyReplace( path.fix( k ), path.fix( componentMap[ k ] ), replacements );
                }
			}
		}

	}
function copyComponentFiles( name, files ) {
		grunt.verbose.writeln( 'BowerMap::copyComponentFiles - ' + name );
		//get map of files to copy
		var componentMap = getComponentMapping( name, files );

		//copy files
		for ( var k in componentMap ) {
			if ( componentMap.hasOwnProperty( k ) ) {
				//console.log( path.fix( k ) );
				//console.log( path.fix( componentMap[ k ] ) );
				//grunt.file.copy( path.fix( k ), path.fix( componentMap[ k ] ) );
				var replacements = replace ? replace[ name ] || false : false;

                if (  componentMap[ k ] !== false){
                    copyReplace( path.fix( k ), path.fix( componentMap[ k ] ), replacements );
                }
			}
		}

	}
function copyComponentFiles ( name , files ) { grunt . verbose . writeln ( 'BowerMap::copyComponentFiles - ' + name ) ; //get map of files to copy var componentMap = getComponentMapping ( name , files ) ; //copy files for ( var k in componentMap ) { if ( componentMap . hasOwnProperty ( k ) ) { //console.log( path.fix( k ) ); //console.log( path.fix( componentMap[ k ] ) ); //grunt.file.copy( path.fix( k ), path.fix( componentMap[ k ] ) ); var replacements = replace ? replace [ name ] || false : false ; if ( componentMap [ k ] !== false ) { copyReplace ( path . fix ( k ) , path . fix ( componentMap [ k ] ) , replacements ) ; } } } }
copies specified component files based on mapping
@param name
@param files
@returns {boolean}
copies specified component files based on mapping