lib/calendar.js
function collectHolidays() {
      if (typeof self.year.holidays[self.m] !== 'undefined' && typeof self.year.holidays[self.m] !== 'undefined') {
        self.year.holidays[self.m].forEach(function(holiday) {
          if (holidays.length < count && holiday.day >= self.d) {
            holidays.push(holiday);
          }
        });
      }
    }
function collectHolidays() {
      if (typeof self.year.holidays[self.m] !== 'undefined' && typeof self.year.holidays[self.m] !== 'undefined') {
        self.year.holidays[self.m].forEach(function(holiday) {
          if (holidays.length < count && holiday.day >= self.d) {
            holidays.push(holiday);
          }
        });
      }
    }
function collectHolidays ( ) { if ( typeof self . year . holidays [ self . m ] !== 'undefined' && typeof self . year . holidays [ self . m ] !== 'undefined' ) { self . year . holidays [ self . m ] . forEach ( function ( holiday ) { if ( holidays . length < count && holiday . day >= self . d ) { holidays . push ( holiday ) ; } } ) ; } }
Collects holidays.
Collects holidays .