'use strict'; import Ox from './js/Ox.Global.js'; import './js/Core.js'; import './js/Function.js'; import './js/Polyfill.js'; import './js/Array.js'; import './js/String.js'; import './js/Collection.js'; import './js/Math.js'; import './js/Async.js'; import './js/Color.js'; import './js/Constants.js'; import './js/Date.js'; import './js/DOM.js'; import './js/Encoding.js'; import './js/Format.js'; import './js/Geo.js'; import './js/Hash.js'; import './js/HTML.js'; import './js/JavaScript.js'; import './js/Locale.js'; import './js/Object.js'; import './js/RegExp.js'; import './js/Request.js'; import './js/Type.js'; import './js/Video.js'; export default Ox; export { Ox }; // For backward compatibility with global usage if (typeof globalThis !== 'undefined') { // FIXME: examples/ui/widget_design_patterns writes to Ox before load if (typeof globalThis.Ox != 'undefined') { Object.keys(globalThis.Ox).forEach(key => { if (typeof Ox[key] == 'undefined') { Ox[key] = globalThis.Ox[key] } }) } globalThis.Ox = Ox; }