angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Issues while upgraded from 1.0.1 to 1.0.2 #458

Open spoddutu opened 7 years ago

spoddutu commented 7 years ago

I am getting below issues when i had upgraded TypeError: ((intermediate value)(intermediate value)(intermediate value) || []).reduce is not a function or TypeError: (sources || []).reduce is not a function

eventSources is defined on scope as below

eg: $scope.eventSources = [{"test": 1}]

Any help here would help to proceed further.

Thanks

sefo commented 7 years ago

I have the same problem however I'm using version 1.01. The exact same code works running in localhost on Windows but throws an error when run on LAN with Ubuntu.

LeleDev commented 7 years ago

Same error here. Still no clues to fix it?

carlosvicient commented 7 years ago

I had the same problem using version 1.0.2.

I fixed it downgrading angular-ui-calendar to version 1.0.1 and fullcalendar to version 2.3.1.

BTW, I am also using:

Hope it helps!