diff options
author | Mario <mario@mariovavti.com> | 2020-06-15 08:19:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-06-15 08:19:13 +0000 |
commit | 56ec55110a27a13cc2c7d1fb09f1650f8c4cd842 (patch) | |
tree | 1ed6199b0d09b232b3ba5dce28a0a0134242df55 /library/fullcalendar/packages/google-calendar/main.js | |
parent | 570497071d7dc231be6ab0eee951c22f1ad05df2 (diff) | |
download | volse-hubzilla-56ec55110a27a13cc2c7d1fb09f1650f8c4cd842.tar.gz volse-hubzilla-56ec55110a27a13cc2c7d1fb09f1650f8c4cd842.tar.bz2 volse-hubzilla-56ec55110a27a13cc2c7d1fb09f1650f8c4cd842.zip |
update fullcalendar to version 4.4.2
Diffstat (limited to 'library/fullcalendar/packages/google-calendar/main.js')
-rw-r--r-- | library/fullcalendar/packages/google-calendar/main.js | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/library/fullcalendar/packages/google-calendar/main.js b/library/fullcalendar/packages/google-calendar/main.js index 89ce3d7a6..adf80e6a7 100644 --- a/library/fullcalendar/packages/google-calendar/main.js +++ b/library/fullcalendar/packages/google-calendar/main.js @@ -1,8 +1,9 @@ /*! -FullCalendar Google Calendar Plugin v4.0.2 +FullCalendar Google Calendar Plugin v4.4.2 Docs & License: https://fullcalendar.io/ (c) 2019 Adam Shaw */ + (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/core')) : typeof define === 'function' && define.amd ? define(['exports', '@fullcalendar/core'], factory) : @@ -10,18 +11,18 @@ Docs & License: https://fullcalendar.io/ }(this, function (exports, core) { 'use strict'; /*! *****************************************************************************
- Copyright (c) Microsoft Corporation. All rights reserved.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of the
- License at http://www.apache.org/licenses/LICENSE-2.0
+ Copyright (c) Microsoft Corporation.
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
- MERCHANTABLITY OR NON-INFRINGEMENT.
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted.
- See the Apache Version 2.0 License for specific language governing permissions
- and limitations under the License.
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function() {
@@ -41,6 +42,7 @@ Docs & License: https://fullcalendar.io/ url: String, googleCalendarApiKey: String, googleCalendarId: String, + googleCalendarApiBase: String, data: null }; var eventSourceDef = { @@ -105,7 +107,11 @@ Docs & License: https://fullcalendar.io/ } } function buildUrl(meta) { - return API_BASE + '/' + encodeURIComponent(meta.googleCalendarId) + '/events'; + var apiBase = meta.googleCalendarApiBase; + if (!apiBase) { + apiBase = API_BASE; + } + return apiBase + '/' + encodeURIComponent(meta.googleCalendarId) + '/events'; } function buildRequestParams(range, apiKey, extraParams, dateEnv) { var params; |