vendor/assets/javascripts/flatpickr/plugins/momentPlugin.js in flatpickr-4.6.6.0 vs vendor/assets/javascripts/flatpickr/plugins/momentPlugin.js in flatpickr-4.6.9.0
- old
+ new
@@ -1,8 +1,8 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
- (global = global || self, global.momentPlugin = factory());
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.momentPlugin = factory());
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {