Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Error when using new fullcalendar version 3.10.2 #546

Open
@benneq

Description

@benneq

After upgrading from fullcalendar 3.10.1 to 3.10.2 (Release: https://github.com/fullcalendar/fullcalendar/releases/tag/v3.10.2 ) I get the following error:

TypeError: calendar.fullCalendar is not a function
    at Scope.scope.initCalendar (calendar.js:265)

In angular-ui-calendar 1.0.2 source code it's this line:

scope.initCalendar = function(){
  if (!calendar) {
    calendar = angular.element(elm).html('');
  }
  calendar.fullCalendar(options); // <- THIS LINE
  if(attrs.calendar) {
    uiCalendarConfig.calendars[attrs.calendar] = calendar;
  }          
};

When downgrading to fullcalendar 3.10.1 everything is working again. Only 3.10.2 throws this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions