MCPcopy Create free account
hub / github.com/codecombat/codecombat / makeUrlFunc

Method makeUrlFunc

app/core/treema-ext.js:724–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722 getOrMakeModelFromLink (link, linkObj) {
723 let Model
724 const makeUrlFunc = url => () => url
725 const modelUrl = link.split('/')[2]
726 const modelModule = linkObj.model || _.string.classify(modelUrl)
727 let modulePath = `models/${modelModule}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected