rem: dojo.validate.isValidCvv = function(value, ccType) { 
add: dojo.validate.isValidCvv = function(/*String|Int*/value, /*String*/ccType) {      
context: dojo.validate.isValidCvv = function(value, ccType) {	if(typeof value!='string'){		value=String(value);	}	var format;	switch (ccType.toLowerCase()){		case 'mc':		case 'ec':		case 'vi':		case 'di':			format = '###';			break;		case 'ax':			format = '####';			break;		default:			return false;	}	var flags = {format:format};	//FIXME? Why does isNumberFormat take an object for flags when its only parameter is either a string or an array inside the object?	if ((value.length == format.length)&&(dojo.validate.isNumberFormat(value, flags))){		return true;	}	return false;}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/creditCard.js/clean/www/resources/dojo-ajax/src/validate/creditCard.js