WIP: use es-modules
This commit is contained in:
parent
ec5b050496
commit
9c3450947b
146 changed files with 722 additions and 62 deletions
37
source/Ox/index.js
Normal file
37
source/Ox/index.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
'use strict';
|
||||
|
||||
import Ox from './js/Namespace.js';
|
||||
|
||||
import * as Ox_Core from './js/Core.js';
|
||||
import * as Ox_Function from './js/Function.js';
|
||||
import * as Ox_Polyfill from './js/Polyfill.js';
|
||||
import * as Ox_Array from './js/Array.js';
|
||||
import * as Ox_String from './js/String.js';
|
||||
import * as Ox_Collection from './js/Collection.js';
|
||||
import * as Ox_Math from './js/Math.js';
|
||||
|
||||
import * as Ox_Async from './js/Async.js';
|
||||
import * as Ox_Color from './js/Color.js';
|
||||
import * as Ox_Constants from './js/Constants.js';
|
||||
import * as Ox_Date from './js/Date.js';
|
||||
import * as Ox_DOM from './js/DOM.js';
|
||||
import * as Ox_Encoding from './js/Encoding.js';
|
||||
import * as Ox_Format from './js/Format.js';
|
||||
import * as Ox_Geo from './js/Geo.js';
|
||||
import * as Ox_Hash from './js/Hash.js';
|
||||
import * as Ox_HTML from './js/HTML.js';
|
||||
import * as Ox_JavaScript from './js/JavaScript.js';
|
||||
import * as Ox_Locale from './js/Locale.js';
|
||||
import * as Ox_Object from './js/Object.js';
|
||||
import * as Ox_RegExp from './js/RegExp.js';
|
||||
import * as Ox_Request from './js/Request.js';
|
||||
import * as Ox_Type from './js/Type.js';
|
||||
import * as Ox_Video from './js/Video.js';
|
||||
|
||||
export default Ox;
|
||||
export { Ox };
|
||||
|
||||
// For backward compatibility with global usage
|
||||
if (typeof globalThis !== 'undefined') {
|
||||
globalThis.Ox = Ox;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue