katoikia-app/web-ui/web-react/node_modules/@fullcalendar/react/dist/vdom.cjs.js

25 lines
724 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');
var reactDom = require('react-dom');
(typeof globalThis !== 'undefined' ? globalThis : window).FullCalendarVDom = {
Component: React.Component,
createElement: React.createElement,
render: reactDom.render,
createRef: React.createRef,
Fragment: React.Fragment,
createContext: React.createContext,
createPortal: reactDom.createPortal,
flushSync: flushSync,
unmountComponentAtNode: reactDom.unmountComponentAtNode // never called by FullCalendar's React component
};
function flushSync(callback) {
// always sync from top-level
callback();
}
exports.flushSync = flushSync;