// If datePassed is true
else if ( datePassed === true ) {
Yes, very well documented. >.> // If datePassed is true
else if ( datePassed === true ) {
Yes, very well documented. >.> // Set the element as readonly
element.readOnly = true
// Get the date today
DATE_TODAY = P.getDateToday()
// Get the date to select
DATE_SELECTED = P.getDateSelected()
// Get the month to focus
MONTH_FOCUSED = P.getMonthFocused()
// Get the date ranges
DATE_MIN = P.getDateRange( SETTINGS.date_min )
DATE_MAX = P.getDateRange( SETTINGS.date_max, 1 ) // Return the calendarObject
return calendarObject
It's like this all the way through the code!