MCPcopy Create free account
hub / github.com/dropbox/hackpad / newContext

Function newContext

etherpad/src/static/js/tok/require.js:168–1419  ·  view source on GitHub ↗

* Creates a new context for use in require and define calls. * Handle most of the heavy lifting. Do not want to use an object * with prototype here to avoid using "this" in require, in case it * needs to be used in more super secure envs that do not want this. * Also there should

(contextName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

require.jsFile · 0.70

Calls 15

concatMethod · 0.80
testMethod · 0.80
splitMethod · 0.80
callDefMainFunction · 0.70
jQueryHoldReadyFunction · 0.70
makeErrorFunction · 0.70
isPriorityDoneFunction · 0.70
callPluginFunction · 0.70
checkLoadedFunction · 0.70
mixinFunction · 0.70
configurePackageDirFunction · 0.70
makeModuleMapFunction · 0.70

Tested by

no test coverage detected