classes/BowerMap.js
function validateParameters() {
		grunt.verbose.writeln( 'BowerMap::validateParameters' );
		//flag used to determine if validation passes
		var check = true;

		//lib path must be set
		//TODO: get default bowerpath from .bowerrc
		bowerPath = bowerPath || "bower_components";
		if ( typeof bowerPath !== 'string' ) {
			grunt.log.error( 'Bower path must be a string.' );
			check = false;
		}

		//lib path must be set
		if ( !destPath || typeof destPath !== 'string' ) {
			grunt.log.error( 'Default destination path must be configured.' );
			check = false;
		}

		//shim isn't required, but must be a key value object
		shim = shim || {};
		if ( typeof shim !== "object" ) {
			grunt.log.error( 'shim must be an object.' );
			check = false;
		}

		//map isn't required, but must be a key value object
		map = map || {};
		if ( typeof map !== "object" ) {
			grunt.log.error( 'map must be an object.' );
			check = false;
		}

		//ignore isn't required, but must be an array
		ignore = ignore || [];
		if ( !Array.isArray( ignore )  ) {
			grunt.log.error( 'ignore must be an array of strings.' );
			check = false;
		}

		//maintainCommonPaths isn't required, but must be boolean
		maintainCommonPaths = maintainCommonPaths || false;
		if ( typeof maintainCommonPaths !== "boolean" ) {
			grunt.log.error( 'maintainCommonPaths must be a boolean value.' );
			check = false;
		}

		//useNamespace isn't required, but must be undefined or boolean
		if ( useNamespace !== undefined && typeof useNamespace !== "boolean" ) {
			grunt.log.error( 'useNamespace must be boolean or undefined.' );
			check = false;
		}

		//extensions isn't required, but must be an array
		extensions = extensions || undefined;
		if ( extensions !== undefined && !Array.isArray( extensions )  ) {
			grunt.log.error( 'extensions must be an array or undefined.' );
			check = false;
		}

		return check;
	}
function validateParameters() {
		grunt.verbose.writeln( 'BowerMap::validateParameters' );
		//flag used to determine if validation passes
		var check = true;

		//lib path must be set
		//TODO: get default bowerpath from .bowerrc
		bowerPath = bowerPath || "bower_components";
		if ( typeof bowerPath !== 'string' ) {
			grunt.log.error( 'Bower path must be a string.' );
			check = false;
		}

		//lib path must be set
		if ( !destPath || typeof destPath !== 'string' ) {
			grunt.log.error( 'Default destination path must be configured.' );
			check = false;
		}

		//shim isn't required, but must be a key value object
		shim = shim || {};
		if ( typeof shim !== "object" ) {
			grunt.log.error( 'shim must be an object.' );
			check = false;
		}

		//map isn't required, but must be a key value object
		map = map || {};
		if ( typeof map !== "object" ) {
			grunt.log.error( 'map must be an object.' );
			check = false;
		}

		//ignore isn't required, but must be an array
		ignore = ignore || [];
		if ( !Array.isArray( ignore )  ) {
			grunt.log.error( 'ignore must be an array of strings.' );
			check = false;
		}

		//maintainCommonPaths isn't required, but must be boolean
		maintainCommonPaths = maintainCommonPaths || false;
		if ( typeof maintainCommonPaths !== "boolean" ) {
			grunt.log.error( 'maintainCommonPaths must be a boolean value.' );
			check = false;
		}

		//useNamespace isn't required, but must be undefined or boolean
		if ( useNamespace !== undefined && typeof useNamespace !== "boolean" ) {
			grunt.log.error( 'useNamespace must be boolean or undefined.' );
			check = false;
		}

		//extensions isn't required, but must be an array
		extensions = extensions || undefined;
		if ( extensions !== undefined && !Array.isArray( extensions )  ) {
			grunt.log.error( 'extensions must be an array or undefined.' );
			check = false;
		}

		return check;
	}
function validateParameters ( ) { grunt . verbose . writeln ( 'BowerMap::validateParameters' ) ; //flag used to determine if validation passes var check = true ; //lib path must be set //TODO: get default bowerpath from .bowerrc bowerPath = bowerPath || "bower_components" ; if ( typeof bowerPath !== 'string' ) { grunt . log . error ( 'Bower path must be a string.' ) ; check = false ; } //lib path must be set if ( ! destPath || typeof destPath !== 'string' ) { grunt . log . error ( 'Default destination path must be configured.' ) ; check = false ; } //shim isn't required, but must be a key value object shim = shim || { } ; if ( typeof shim !== "object" ) { grunt . log . error ( 'shim must be an object.' ) ; check = false ; } //map isn't required, but must be a key value object map = map || { } ; if ( typeof map !== "object" ) { grunt . log . error ( 'map must be an object.' ) ; check = false ; } //ignore isn't required, but must be an array ignore = ignore || [ ] ; if ( ! Array . isArray ( ignore ) ) { grunt . log . error ( 'ignore must be an array of strings.' ) ; check = false ; } //maintainCommonPaths isn't required, but must be boolean maintainCommonPaths = maintainCommonPaths || false ; if ( typeof maintainCommonPaths !== "boolean" ) { grunt . log . error ( 'maintainCommonPaths must be a boolean value.' ) ; check = false ; } //useNamespace isn't required, but must be undefined or boolean if ( useNamespace !== undefined && typeof useNamespace !== "boolean" ) { grunt . log . error ( 'useNamespace must be boolean or undefined.' ) ; check = false ; } //extensions isn't required, but must be an array extensions = extensions || undefined ; if ( extensions !== undefined && ! Array . isArray ( extensions ) ) { grunt . log . error ( 'extensions must be an array or undefined.' ) ; check = false ; } return check ; }
validates bower copy task parameters
@returns {boolean}
validates bower copy task parameters