toggleWeekday () {
        let _self = this,
            pattern = _self.$patternField.val(),
            weekdays = [];
            
        _self.$html.find('[name="ercal-weekdays"]:checked').map(function() {
            weekdays.push($(this).val());
        });

        _self.setPattern('weekly', weekdays);
        _self.paintMonth(this.clndr.month, 'repeat-on');
    }
/**
     * Takes the values from the weekday checkboxes (MTWTFSS), defines that as a recur pattern, then paints it.
     */
Takes the values from the weekday checkboxes (MTWTFSS), defines that as a recur pattern, then paints it.
Takes the values from the weekday checkboxes ( MTWTFSS ) defines that as a recur pattern then paints it .
toggleWeekday () {
        let _self = this,
            pattern = _self.$patternField.val(),
            weekdays = [];
        _self.$html.find('[name="ercal-weekdays"]:checked').map(function() {
            weekdays.push($(this).val());
        });
        _self.setPattern('weekly', weekdays);
        _self.paintMonth(this.clndr.month, 'repeat-on');
    }
toggleWeekday ( ) { let _self = this , pattern = _self . $patternField . val ( ) , weekdays = [ ] ; _self . $html . find ( '[name="ercal-weekdays"]:checked' ) . map ( function ( ) { weekdays . push ( $ ( this ) . val ( ) ) ; } ) ; _self . setPattern ( 'weekly' , weekdays ) ; _self . paintMonth ( this . clndr . month , 'repeat-on' ) ; }
Takes the values from the weekday checkboxes (MTWTFSS), defines that as a recur pattern, then paints it.
Takes the values from the weekday checkboxes ( MTWTFSS ) defines that as a recur pattern then paints it .