public/fullcalendar/resource-common/main.esm.js
/*
HACK
TODO: use EventUi system instead of this
*/
HACK
TODO: use EventUi system instead of this
HACK TODO : use EventUi system instead of this
function computeResourceEditable(eventDef, calendar) {
    var resourceEditable = eventDef.resourceEditable;
    if (resourceEditable == null) {
        var source = eventDef.sourceId && calendar.state.eventSources[eventDef.sourceId];
        if (source) {
            resourceEditable = source.extendedProps.resourceEditable; 
        }
        if (resourceEditable == null) {
            resourceEditable = calendar.opt('eventResourceEditable');
            if (resourceEditable == null) {
                resourceEditable = calendar.opt('editable'); 
            }
        }
    }
    return resourceEditable;
}
function computeResourceEditable ( eventDef , calendar ) { var resourceEditable = eventDef . resourceEditable ; if ( resourceEditable == null ) { var source = eventDef . sourceId && calendar . state . eventSources [ eventDef . sourceId ] ; if ( source ) { resourceEditable = source . extendedProps . resourceEditable ; } if ( resourceEditable == null ) { resourceEditable = calendar . opt ( 'eventResourceEditable' ) ; if ( resourceEditable == null ) { resourceEditable = calendar . opt ( 'editable' ) ; } } } return resourceEditable ; }
HACK
TODO: use EventUi system instead of this
HACK TODO : use EventUi system instead of this
// used the Source::extendedProps hack // TODO: use defaults system instead