【发布时间】:2014-08-21 13:36:24
【问题描述】:
我有一个站点:Play Date,它使用 PHP 脚本从 API 中提取数据,将其格式化为 JSON 数据,然后输入 FullCalendar。
它在 Chrome 中运行良好,但其他浏览器处理得不是很好。 Firefox 设法显示从 10 月开始的数据,但在那之前它不会工作..
有什么想法吗?
【问题讨论】:
-
你有一些代码可以给我们看,或者一个 jsFiddle 吗?哪个版本的 FullCalendar、jQuery、Firefox...?
-
@Slyvain 最新的 Firefox(我认为是 31 个)、2.1 jQuery 和 1.64 FullCalendar。我只是不明白为什么它会加载几个月而不是其他月份。代码相同,数据格式相同。
-
你试过用 2.0 版本更新 FullCalendar 吗?
-
我没有意识到那已经过时了。我试试看。
-
@Slyvain 我替换了文件,现在我得到: Uncaught ReferenceError: moment is not defined js/fullcalendar.min.js:6 Uncaught TypeError: undefined is not a function
标签: php google-chrome firefox fullcalendar