UNPKG

mgraph.forcelayout

Version:
12 lines (11 loc) 516 B
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.myTestGlobal = factory()); })(this, (function () { 'use strict'; console.log('myTestGlobal UMD factory is running!'); return function() { console.log('myTestGlobal function called!'); return 'Hello from UMD!'; }; }));