jquery-src/jquery.calendars.validation.js
function normaliseParams(params) {
			if (typeof params === 'string') {
				params = params.split(' ');
			}
			else if (!$.isArray(params)) {
				var opts = [];
				for (var name in params) {
					opts[0] = name;
					opts[1] = params[name];
				}
				params = opts;
			}
			return params;
		}
function normaliseParams(params) {
			if (typeof params === 'string') {
				params = params.split(' ');
			}
			else if (!$.isArray(params)) {
				var opts = [];
				for (var name in params) {
					opts[0] = name;
					opts[1] = params[name];
				}
				params = opts;
			}
			return params;
		}
function normaliseParams ( params ) { if ( typeof params === 'string' ) { params = params . split ( ' ' ) ; } else if ( ! $ . isArray ( params ) ) { var opts = [ ] ; for ( var name in params ) { opts [ 0 ] = name ; opts [ 1 ] = params [ name ] ; } params = opts ; } return params ; }
Normalise the comparison parameters to an array.
@param params {Array|object|string} The original parameters.
@return {Array} The normalised parameters.
Normalise the comparison parameters to an array .