(function umd(root, factory) { if (typeof module === 'object' && typeof exports === 'object') module.exports = factory() else if (typeof define === 'function' && define.amd) define([], factory) else root.CustomFuc = factory() })(this, function factory() { var CustomFuc = {}; return CustomFuc; });