MCPcopy Index your code

hub / github.com/prose/prose / functions

Functions26 in github.com/prose/prose

↓ 93 callersFunctiont
(s, o, loc)
locale.js:10
↓ 12 callersFunctionmockFile
(content, data)
test/spec/models/file.js:25
↓ 7 callersFunctionmockRepo
(repo, owner)
test/mocks/models/repo.js:5
↓ 5 callersFunctionspies
* Attach spies for the given methods * * @param {object} [object] The object to attach spies to; uses {} if omitted. * @param {Array<string>} metho
test/mocks/helpers.js:47
↓ 2 callersFunctionasyncMap
(inputs, func, callback)
translations/update_locales.js:84
↓ 2 callersFunctioninView
(el)
app/util.js:206
↓ 2 callersFunctionmissing
()
locale.js:23
↓ 1 callersFunctionassign
(obj, arr, value)
build.js:15
↓ 1 callersFunctiongetLanguage
(resource)
translations/update_locales.js:55
↓ 1 callersFunctiongetLanguages
(resource, callback)
translations/update_locales.js:68
↓ 1 callersFunctionisProd
()
gulpfile.js:38
↓ 1 callersFunctiontryParse
(obj)
app/cookie.js:1
↓ 1 callersFunctiontryStringify
(obj)
app/cookie.js:9
FunctionDistate
* naive state management for the ad-hoc DI we're doing in the mocks. * used by mocks to keep track of objects so that, e.g., a mocked File * and moc
test/mocks/helpers.js:16
Functionapp
()
test/mocks/views/app.js:10
Functionbranch
(repo)
test/mocks/collections/branches.js:8
Functionbranch
(name, repo)
test/mocks/models/branch.js:7
Functionfile
()
test/mocks/views/file.js:11
Functionfile
(content, path, repo)
test/mocks/models/file.js:8
Functionfiles
()
test/mocks/collections/files.js:9
FunctiongetLayout
(cb)
app/views/file.js:779
FunctiongetResource
(resource, callback)
translations/update_locales.js:34
Functionheader
()
test/mocks/views/header.js:8
Functionnoop
()
test/spec/views/file.js:12
Functionrouter
()
test/mocks/router.js:6
FunctionwhitespaceTests
(withYaml)
test/spec/models/file.js:79