• Eulyeon Ko's avatar
    Refactor hasStartDate- method from mixins · f64c7998
    Eulyeon Ko authored
    Make the following methods accept "timeframeItem"
    explicitly as an argument:
    hasStartDateForWeeks (from WeeksPresetMixin)
    hasStartDateForMonths (from MonthsPresetMixin)
    hasStartDateForQuarters (from QuartersPresetMixin)
    
    This change makes it easier to reason about the
    dependencies of the methods.
    f64c7998
months_preset_mixin_spec.js 5.63 KB