MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / createCommonjsModule

Function createCommonjsModule

static/plugins/chart.js/Chart.bundle.js:19–21  ·  view source on GitHub ↗
(fn, module)

Source from the content-addressed store, hash-verified

17}
18
19function createCommonjsModule(fn, module) {
20 return module = { exports: {} }, fn(module, module.exports), module.exports;
21}
22
23function getCjsExportFromNamespace (n) {
24 return n && n['default'] || n;

Callers 1

Chart.bundle.jsFile · 0.70

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected