map/validate/validate.js
function (behavior, attr, define) {
	var prop;
	var defaultProp;

	if (define) {
		prop = define[attr];
		defaultProp = define["*"];

		if (prop && prop[behavior] !== undefined) {
			return prop[behavior];
		} else {
			if (defaultProp && defaultProp[behavior] !== undefined) {
				return defaultProp[behavior];
			}
		}
	}
}
function (behavior, attr, define) {
	var prop;
	var defaultProp;

	if (define) {
		prop = define[attr];
		defaultProp = define["*"];

		if (prop && prop[behavior] !== undefined) {
			return prop[behavior];
		} else {
			if (defaultProp && defaultProp[behavior] !== undefined) {
				return defaultProp[behavior];
			}
		}
	}
}
function ( behavior , attr , define ) { var prop ; var defaultProp ; if ( define ) { prop = define [ attr ] ; defaultProp = define [ "*" ] ; if ( prop && prop [ behavior ] !== undefined ) { return prop [ behavior ] ; } else { if ( defaultProp && defaultProp [ behavior ] !== undefined ) { return defaultProp [ behavior ] ; } } } }
Gets properties from the map"s define property.
Gets properties from the map s define property .