Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cnodejs/egg-cnode
/ functions
Functions
856 in github.com/cnodejs/egg-cnode
⨍
Functions
856
◇
Types & classes
46
↓ 291 callers
Function
assert
* 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 callers
Method
get
(key)
app/service/cache.js:6
↓ 93 callers
Function
e
(a)
app/public/libs/code-prettify/prettify.js:12
↓ 59 callers
Method
newAndSave
(name, loginname, pass, email, avatar_url, active)
app/service/user.js:127
↓ 56 callers
Function
Pos
(line, ch)
app/public/libs/editor/editor.js:2431
↓ 56 callers
Function
elt
(tag, content, className, style)
app/public/libs/editor/editor.js:5377
↓ 53 callers
Function
getLine
(chunk, n)
app/public/libs/editor/editor.js:4923
↓ 45 callers
Function
clipPos
(doc, pos)
app/public/libs/editor/editor.js:2444
↓ 44 callers
Function
jQuery
(selector, context)
app/public/libs/jquery-2.1.0.js:74
↓ 40 callers
Function
operation
(cm1, f)
app/public/libs/editor/editor.js:1387
↓ 38 callers
Function
on
(emitter, type, f)
app/public/libs/editor/editor.js:5213
↓ 37 callers
Function
option
(name, deflt, handle, notOnInit)
app/public/libs/editor/editor.js:3172
↓ 30 callers
Method
remove
(userId, topicId)
app/service/topic_collect.js:28
↓ 27 callers
Function
posEq
(a, b)
app/public/libs/editor/editor.js:2437
↓ 24 callers
Method
show
()
app/controller/api/user.js:7
↓ 23 callers
Function
posLess
(a, b)
app/public/libs/editor/editor.js:2438
↓ 21 callers
Function
slice
* 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 callers
Function
getRect
(node)
app/public/libs/editor/editor.js:5403
↓ 20 callers
Method
getUserById
(id)
app/service/user.js:57
↓ 18 callers
Method
index
()
app/controller/rss.js:14
↓ 17 callers
Function
e_preventDefault
(e)
app/public/libs/editor/editor.js:5183
↓ 17 callers
Method
getTopicsByQuery
(query, opt)
app/service/topic.js:48
↓ 17 callers
Function
isFunction
* Checks if `value` is a function. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check.
app/public/libs/lodash.compat.js:2746
↓ 17 callers
Function
regChange
(cm, from, to, lendiff)
app/public/libs/editor/editor.js:1413
↓ 16 callers
Function
cont
()
app/public/libs/editor/editor.js:6001
↓ 15 callers
Function
extendSelection
(doc, pos, other, bias)
app/public/libs/editor/editor.js:2460
↓ 15 callers
Function
getType
(state)
app/public/libs/editor/editor.js:6366
↓ 15 callers
Function
k
(a, m)
app/public/libs/code-prettify/prettify.js:225
↓ 14 callers
Function
getAll
(context, tag)
app/public/libs/jquery-2.1.0.js:4947
↓ 14 callers
Method
getUserByLoginName
(loginName)
app/service/user.js:27
↓ 14 callers
Function
lst
(arr)
app/public/libs/editor/editor.js:5318
↓ 14 callers
Function
next
()
app/public/libs/jquery-2.1.0.js:3855
↓ 14 callers
Function
signal
(emitter, type /*, values...*/)
app/public/libs/editor/editor.js:5238
↓ 13 callers
Method
getReplyById
(id)
app/service/reply.js:21
↓ 13 callers
Function
isObject
* 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 callers
Function
signalLater
(emitter, type /*, values...*/)
app/public/libs/editor/editor.js:5246
↓ 12 callers
Function
lineNo
(line)
app/public/libs/editor/editor.js:4957
↓ 11 callers
Function
bind
(f)
app/public/libs/editor/editor.js:5357
↓ 11 callers
Function
escapeHtml
(str)
app/public/libs/markdownit.js:2562
↓ 11 callers
Function
releaseArray
* 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 callers
Function
u
(a)
app/public/libs/code-prettify/prettify.js:154
↓ 11 callers
Function
updateLineHeight
(line, height)
app/public/libs/editor/editor.js:4952
↓ 10 callers
Function
cursorCoords
(cm, pos, context, lineObj, measurement)
app/public/libs/editor/editor.js:1174
↓ 10 callers
Function
getArray
* 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 callers
Function
getOrder
(line)
app/public/libs/editor/editor.js:5007
↓ 10 callers
Function
markFunction
* 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 callers
Function
removeChildrenAndAdd
(parent, e)
app/public/libs/editor/editor.js:5392
↓ 10 callers
Function
signalDOMEvent
(cm, e, override)
app/public/libs/editor/editor.js:5260
↓ 9 callers
Function
baseCreateCallback
* The base implementation of `_.createCallback` without support for creating * "_.pluck" or "_.where" style callbacks. * * @private
app/public/libs/lodash.compat.js:1160
↓ 9 callers
Function
createWrapper
* 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 callers
Function
hasHandler
(emitter, type)
app/public/libs/editor/editor.js:5272
↓ 9 callers
Function
indexOf
(collection, elt)
app/public/libs/editor/editor.js:5331
↓ 9 callers
Function
isArguments
* 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 callers
Function
visualLine
(doc, line)
app/public/libs/editor/editor.js:4037
↓ 8 callers
Method
add
* 添加回复
app/controller/reply.js:9
↓ 8 callers
Function
focusInput
(cm)
app/public/libs/editor/editor.js:1497
↓ 8 callers
Method
getMessageRelations
(message)
app/service/message.js:27
↓ 8 callers
Method
getTopic
(id)
app/service/topic.js:136
↓ 8 callers
Method
getTopicById
(id)
app/service/topic.js:11
↓ 8 callers
Function
indexOf
* 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 callers
Function
isNative
* 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 callers
Function
isString
* Checks if `value` is a string. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. *
app/public/libs/lodash.compat.js:2922
↓ 8 callers
Function
off
(emitter, type, f)
app/public/libs/editor/editor.js:5225
↓ 8 callers
Function
replaceRange
(doc, code, from, to, origin)
app/public/libs/editor/editor.js:2422
↓ 8 callers
Method
setex
(key, value, seconds)
app/service/cache.js:17
↓ 7 callers
Function
add
(left, top, width, bottom)
app/public/libs/editor/editor.js:804
↓ 7 callers
Function
baseFlatten
* The base implementation of `_.flatten` without support for callback * shorthands or `thisArg` binding. * * @private * @param {Ar
app/public/libs/lodash.compat.js:1313
↓ 7 callers
Function
copyPos
(x)
app/public/libs/editor/editor.js:2439
↓ 7 callers
Function
createPositionalPseudo
* Returns a function to use in pseudos for positionals * @param {Function} fn
app/public/libs/jquery-2.1.0.js:962
↓ 7 callers
Function
eventInWidget
(display, e)
app/public/libs/editor/editor.js:1622
↓ 7 callers
Method
getUsersByQuery
(query, opt)
app/service/user.js:92
↓ 7 callers
Function
lineIsHidden
(doc, line)
app/public/libs/editor/editor.js:4044
↓ 7 callers
Function
resetInput
(cm, user)
app/public/libs/editor/editor.js:1480
↓ 7 callers
Method
sendMessageToMentionUsers
(text, topicId, authorId, reply_id = null)
app/service/at.js:51
↓ 7 callers
Function
setSelection
(doc, anchor, head, bias, checkAtomic)
app/public/libs/editor/editor.js:2490
↓ 7 callers
Function
spansFor
(n)
app/public/libs/editor/editor.js:4475
↓ 6 callers
Function
clearCaches
(cm)
app/public/libs/editor/editor.js:1119
↓ 6 callers
Function
createIterator
* Creates compiled iteration functions. * * @private * @param {...Object} [options] The compile options object(s). * @param {strin
app/public/libs/lodash.compat.js:1765
↓ 6 callers
Function
endOperation
(cm)
app/public/libs/editor/editor.js:1330
↓ 6 callers
Function
eventMixin
(ctor)
app/public/libs/editor/editor.js:5279
↓ 6 callers
Method
getFullTopic
(id)
app/service/topic.js:92
↓ 6 callers
Function
getState
* The state of CodeMirror at the given position.
app/public/libs/editor/editor.js:6781
↓ 6 callers
Method
incr
(key, seconds)
app/service/cache.js:26
↓ 6 callers
Function
isLine
(doc, l)
app/public/libs/editor/editor.js:2456
↓ 6 callers
Function
linkedDocs
(doc, f, sharedHistOnly)
app/public/libs/editor/editor.js:4896
↓ 6 callers
Method
put
* 发表主题帖
app/controller/topic.js:106
↓ 6 callers
Function
replaceAt
(str, index, ch)
app/public/libs/markdownit.js:6171
↓ 6 callers
Method
sendAtMessage
(userId, authorId, topicId, replyId)
app/service/message.js:121
↓ 6 callers
Function
setScrollLeft
(cm, val, isScroller)
app/public/libs/editor/editor.js:1888
↓ 6 callers
Function
startOperation
(cm)
app/public/libs/editor/editor.js:1312
↓ 6 callers
Function
switchInline
(stream, state, f)
app/public/libs/editor/editor.js:6249
↓ 6 callers
Function
textHeight
(display)
app/public/libs/editor/editor.js:1275
↓ 6 callers
Function
update
(line, text, spans)
app/public/libs/editor/editor.js:4476
↓ 6 callers
Method
update
* 更新主题帖
app/controller/topic.js:189
↓ 5 callers
Function
addStop
(event)
app/public/libs/editor/editor.js:5178
↓ 5 callers
Function
baseDifference
* 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 callers
Function
checkMessage
(type, senderId, receiverId, replyId, revert = false)
test/app/controller/api/reply.test.js:40
↓ 5 callers
Function
checkReplyUps
(replyId, userId, status)
test/app/controller/api/reply.test.js:187
↓ 5 callers
Function
copyState
(mode, state)
app/public/libs/editor/editor.js:3343
↓ 5 callers
Function
countColumn
(string, end, tabSize, startIndex, startValue)
app/public/libs/editor/editor.js:5298
next →
1–100 of 856, ranked by callers