Update lib fullcalendar.js and moment.js (#4000)
fullCalendar.js v3.0.1 to v3.4.0 fullCalendar.css v3.0.1 to v3.4.0 moment.js version 2.14.1 to version 2.18.1 moment-timezone.js version 0.5.4 to version 0.5.13
This commit is contained in:
parent
a6799f020f
commit
fc22c31ab0
8 changed files with 39 additions and 1197 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
/*!
|
||||
* FullCalendar v3.0.1 Print Stylesheet
|
||||
* Docs & License: http://fullcalendar.io/
|
||||
* (c) 2016 Adam Shaw
|
||||
* FullCalendar v3.4.0 Print Stylesheet
|
||||
* Docs & License: https://fullcalendar.io/
|
||||
* (c) 2017 Adam Shaw
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
/*!
|
||||
* FullCalendar v3.0.1 Google Calendar Plugin
|
||||
* Docs & License: http://fullcalendar.io/
|
||||
* (c) 2016 Adam Shaw
|
||||
* FullCalendar v3.4.0 Google Calendar Plugin
|
||||
* Docs & License: https://fullcalendar.io/
|
||||
* (c) 2017 Adam Shaw
|
||||
*/
|
||||
|
||||
|
||||
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define([ 'jquery' ], factory);
|
||||
|
|
@ -73,7 +74,7 @@ FC.sourceFetchers.push(function(sourceOptions, start, end, timezone) {
|
|||
|
||||
function transformOptions(sourceOptions, start, end, timezone, calendar) {
|
||||
var url = API_BASE + '/' + encodeURIComponent(sourceOptions.googleCalendarId) + '/events?callback=?'; // jsonp
|
||||
var apiKey = sourceOptions.googleCalendarApiKey || calendar.options.googleCalendarApiKey;
|
||||
var apiKey = sourceOptions.googleCalendarApiKey || calendar.opt('googleCalendarApiKey');
|
||||
var success = sourceOptions.success;
|
||||
var data;
|
||||
var timezoneArg; // populated when a specific timezone. escaped to Google's liking
|
||||
|
|
@ -83,7 +84,7 @@ function transformOptions(sourceOptions, start, end, timezone, calendar) {
|
|||
|
||||
// call error handlers
|
||||
(sourceOptions.googleCalendarError || $.noop).apply(calendar, errorObjs);
|
||||
(calendar.options.googleCalendarError || $.noop).apply(calendar, errorObjs);
|
||||
(calendar.opt('googleCalendarError') || $.noop).apply(calendar, errorObjs);
|
||||
|
||||
// print error to debug console
|
||||
FC.warn.apply(null, [ message ].concat(apiErrorObjs || []));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
494
frappe/public/js/lib/moment/moment.min.js
vendored
494
frappe/public/js/lib/moment/moment.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue