MCPcopy Create free account

hub / github.com/cnodejs/egg-cnode / functions

Functions856 in github.com/cnodejs/egg-cnode

↓ 291 callersFunctionassert
* Support testing using an element * @param {Function} fn Passed the created div and expects a boolean result
app/public/libs/jquery-2.1.0.js:876
↓ 171 callersMethodget
(key)
app/service/cache.js:6
↓ 93 callersFunctione
(a)
app/public/libs/code-prettify/prettify.js:12
↓ 59 callersMethodnewAndSave
(name, loginname, pass, email, avatar_url, active)
app/service/user.js:127
↓ 56 callersFunctionPos
(line, ch)
app/public/libs/editor/editor.js:2431
↓ 56 callersFunctionelt
(tag, content, className, style)
app/public/libs/editor/editor.js:5377
↓ 53 callersFunctiongetLine
(chunk, n)
app/public/libs/editor/editor.js:4923
↓ 45 callersFunctionclipPos
(doc, pos)
app/public/libs/editor/editor.js:2444
↓ 44 callersFunctionjQuery
(selector, context)
app/public/libs/jquery-2.1.0.js:74
↓ 40 callersFunctionoperation
(cm1, f)
app/public/libs/editor/editor.js:1387
↓ 38 callersFunctionon
(emitter, type, f)
app/public/libs/editor/editor.js:5213
↓ 37 callersFunctionoption
(name, deflt, handle, notOnInit)
app/public/libs/editor/editor.js:3172
↓ 30 callersMethodremove
(userId, topicId)
app/service/topic_collect.js:28
↓ 27 callersFunctionposEq
(a, b)
app/public/libs/editor/editor.js:2437
↓ 24 callersMethodshow
()
app/controller/api/user.js:7
↓ 23 callersFunctionposLess
(a, b)
app/public/libs/editor/editor.js:2438
↓ 21 callersFunctionslice
* Slices the `collection` from the `start` index up to, but not including, * the `end` index. * * Note: This function is used instead of `Arr
app/public/libs/lodash.compat.js:445
↓ 20 callersFunctiongetRect
(node)
app/public/libs/editor/editor.js:5403
↓ 20 callersMethodgetUserById
(id)
app/service/user.js:57
↓ 18 callersMethodindex
()
app/controller/rss.js:14
↓ 17 callersFunctione_preventDefault
(e)
app/public/libs/editor/editor.js:5183
↓ 17 callersMethodgetTopicsByQuery
(query, opt)
app/service/topic.js:48
↓ 17 callersFunctionisFunction
* Checks if `value` is a function. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check.
app/public/libs/lodash.compat.js:2746
↓ 17 callersFunctionregChange
(cm, from, to, lendiff)
app/public/libs/editor/editor.js:1413
↓ 16 callersFunctioncont
()
app/public/libs/editor/editor.js:6001
↓ 15 callersFunctionextendSelection
(doc, pos, other, bias)
app/public/libs/editor/editor.js:2460
↓ 15 callersFunctiongetType
(state)
app/public/libs/editor/editor.js:6366
↓ 15 callersFunctionk
(a, m)
app/public/libs/code-prettify/prettify.js:225
↓ 14 callersFunctiongetAll
(context, tag)
app/public/libs/jquery-2.1.0.js:4947
↓ 14 callersMethodgetUserByLoginName
(loginName)
app/service/user.js:27
↓ 14 callersFunctionlst
(arr)
app/public/libs/editor/editor.js:5318
↓ 14 callersFunctionnext
()
app/public/libs/jquery-2.1.0.js:3855
↓ 14 callersFunctionsignal
(emitter, type /*, values...*/)
app/public/libs/editor/editor.js:5238
↓ 13 callersMethodgetReplyById
(id)
app/service/reply.js:21
↓ 13 callersFunctionisObject
* Checks if `value` is the language type of Object. * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) *
app/public/libs/lodash.compat.js:2777
↓ 13 callersFunctionsignalLater
(emitter, type /*, values...*/)
app/public/libs/editor/editor.js:5246
↓ 12 callersFunctionlineNo
(line)
app/public/libs/editor/editor.js:4957
↓ 11 callersFunctionbind
(f)
app/public/libs/editor/editor.js:5357
↓ 11 callersFunctionescapeHtml
(str)
app/public/libs/markdownit.js:2562
↓ 11 callersFunctionreleaseArray
* Releases the given array back to the array pool. * * @private * @param {Array} [array] The array to release.
app/public/libs/lodash.compat.js:408
↓ 11 callersFunctionu
(a)
app/public/libs/code-prettify/prettify.js:154
↓ 11 callersFunctionupdateLineHeight
(line, height)
app/public/libs/editor/editor.js:4952
↓ 10 callersFunctioncursorCoords
(cm, pos, context, lineObj, measurement)
app/public/libs/editor/editor.js:1174
↓ 10 callersFunctiongetArray
* Gets an array from the array pool or creates a new one if the pool is empty. * * @private * @returns {Array} The array from the pool.
app/public/libs/lodash.compat.js:361
↓ 10 callersFunctiongetOrder
(line)
app/public/libs/editor/editor.js:5007
↓ 10 callersFunctionmarkFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
app/public/libs/jquery-2.1.0.js:867
↓ 10 callersFunctionremoveChildrenAndAdd
(parent, e)
app/public/libs/editor/editor.js:5392
↓ 10 callersFunctionsignalDOMEvent
(cm, e, override)
app/public/libs/editor/editor.js:5260
↓ 9 callersFunctionbaseCreateCallback
* The base implementation of `_.createCallback` without support for creating * "_.pluck" or "_.where" style callbacks. * * @private
app/public/libs/lodash.compat.js:1160
↓ 9 callersFunctioncreateWrapper
* Creates a function that, when called, either curries or invokes `func` * with an optional `this` binding and partially applied arguments.
app/public/libs/lodash.compat.js:1693
↓ 9 callersFunctionhasHandler
(emitter, type)
app/public/libs/editor/editor.js:5272
↓ 9 callersFunctionindexOf
(collection, elt)
app/public/libs/editor/editor.js:5331
↓ 9 callersFunctionisArguments
* Checks if `value` is an `arguments` object. * * @static * @memberOf _ * @category Objects * @param {*} value The value to c
app/public/libs/lodash.compat.js:1915
↓ 9 callersFunctionvisualLine
(doc, line)
app/public/libs/editor/editor.js:4037
↓ 8 callersMethodadd
* 添加回复
app/controller/reply.js:9
↓ 8 callersFunctionfocusInput
(cm)
app/public/libs/editor/editor.js:1497
↓ 8 callersMethodgetMessageRelations
(message)
app/service/message.js:27
↓ 8 callersMethodgetTopic
(id)
app/service/topic.js:136
↓ 8 callersMethodgetTopicById
(id)
app/service/topic.js:11
↓ 8 callersFunctionindexOf
* Gets the index at which the first occurrence of `value` is found using * strict equality for comparisons, i.e. `===`. If the array is already s
app/public/libs/lodash.compat.js:4774
↓ 8 callersFunctionisNative
* Checks if `value` is a native function. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true`
app/public/libs/lodash.compat.js:1830
↓ 8 callersFunctionisString
* Checks if `value` is a string. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. *
app/public/libs/lodash.compat.js:2922
↓ 8 callersFunctionoff
(emitter, type, f)
app/public/libs/editor/editor.js:5225
↓ 8 callersFunctionreplaceRange
(doc, code, from, to, origin)
app/public/libs/editor/editor.js:2422
↓ 8 callersMethodsetex
(key, value, seconds)
app/service/cache.js:17
↓ 7 callersFunctionadd
(left, top, width, bottom)
app/public/libs/editor/editor.js:804
↓ 7 callersFunctionbaseFlatten
* The base implementation of `_.flatten` without support for callback * shorthands or `thisArg` binding. * * @private * @param {Ar
app/public/libs/lodash.compat.js:1313
↓ 7 callersFunctioncopyPos
(x)
app/public/libs/editor/editor.js:2439
↓ 7 callersFunctioncreatePositionalPseudo
* Returns a function to use in pseudos for positionals * @param {Function} fn
app/public/libs/jquery-2.1.0.js:962
↓ 7 callersFunctioneventInWidget
(display, e)
app/public/libs/editor/editor.js:1622
↓ 7 callersMethodgetUsersByQuery
(query, opt)
app/service/user.js:92
↓ 7 callersFunctionlineIsHidden
(doc, line)
app/public/libs/editor/editor.js:4044
↓ 7 callersFunctionresetInput
(cm, user)
app/public/libs/editor/editor.js:1480
↓ 7 callersMethodsendMessageToMentionUsers
(text, topicId, authorId, reply_id = null)
app/service/at.js:51
↓ 7 callersFunctionsetSelection
(doc, anchor, head, bias, checkAtomic)
app/public/libs/editor/editor.js:2490
↓ 7 callersFunctionspansFor
(n)
app/public/libs/editor/editor.js:4475
↓ 6 callersFunctionclearCaches
(cm)
app/public/libs/editor/editor.js:1119
↓ 6 callersFunctioncreateIterator
* Creates compiled iteration functions. * * @private * @param {...Object} [options] The compile options object(s). * @param {strin
app/public/libs/lodash.compat.js:1765
↓ 6 callersFunctionendOperation
(cm)
app/public/libs/editor/editor.js:1330
↓ 6 callersFunctioneventMixin
(ctor)
app/public/libs/editor/editor.js:5279
↓ 6 callersMethodgetFullTopic
(id)
app/service/topic.js:92
↓ 6 callersFunctiongetState
* The state of CodeMirror at the given position.
app/public/libs/editor/editor.js:6781
↓ 6 callersMethodincr
(key, seconds)
app/service/cache.js:26
↓ 6 callersFunctionisLine
(doc, l)
app/public/libs/editor/editor.js:2456
↓ 6 callersFunctionlinkedDocs
(doc, f, sharedHistOnly)
app/public/libs/editor/editor.js:4896
↓ 6 callersMethodput
* 发表主题帖
app/controller/topic.js:106
↓ 6 callersFunctionreplaceAt
(str, index, ch)
app/public/libs/markdownit.js:6171
↓ 6 callersMethodsendAtMessage
(userId, authorId, topicId, replyId)
app/service/message.js:121
↓ 6 callersFunctionsetScrollLeft
(cm, val, isScroller)
app/public/libs/editor/editor.js:1888
↓ 6 callersFunctionstartOperation
(cm)
app/public/libs/editor/editor.js:1312
↓ 6 callersFunctionswitchInline
(stream, state, f)
app/public/libs/editor/editor.js:6249
↓ 6 callersFunctiontextHeight
(display)
app/public/libs/editor/editor.js:1275
↓ 6 callersFunctionupdate
(line, text, spans)
app/public/libs/editor/editor.js:4476
↓ 6 callersMethodupdate
* 更新主题帖
app/controller/topic.js:189
↓ 5 callersFunctionaddStop
(event)
app/public/libs/editor/editor.js:5178
↓ 5 callersFunctionbaseDifference
* The base implementation of `_.difference` that accepts a single array * of values to exclude. * * @private * @param {Array} arra
app/public/libs/lodash.compat.js:1274
↓ 5 callersFunctioncheckMessage
(type, senderId, receiverId, replyId, revert = false)
test/app/controller/api/reply.test.js:40
↓ 5 callersFunctioncheckReplyUps
(replyId, userId, status)
test/app/controller/api/reply.test.js:187
↓ 5 callersFunctioncopyState
(mode, state)
app/public/libs/editor/editor.js:3343
↓ 5 callersFunctioncountColumn
(string, end, tabSize, startIndex, startValue)
app/public/libs/editor/editor.js:5298
next →1–100 of 856, ranked by callers