MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getModule

Function getModule

static/webuploader/webuploader.fis.js:56–64  ·  view source on GitHub ↗
( id )

Source from the content-addressed store, hash-verified

54
55 // 根据id获取module
56 getModule = function( id ) {
57 var module = modules[ id ] || root[ id ];
58
59 if ( !module ) {
60 throw new Error( '`' + id + '` is undefined' );
61 }
62
63 return module;
64 },
65
66 // 将所有modules,将路径ids装换成对象。
67 exportsTo = function( obj ) {

Callers 1

_requireFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected