Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Feather-2/Burner-X
/ functions
Functions
2,373 in github.com/Feather-2/Burner-X
⨍
Functions
2,373
◇
Types & classes
126
↓ 1 callers
Function
createTocItem
* 创建TOC项
js/ui/toc_logic_enhanced.js:707
↓ 1 callers
Function
debounce
* 防抖函数
js/ui/sidebar-integration.js:685
↓ 1 callers
Function
debounce
(func, delay)
js/ui/dock/dock_logic.js:112
↓ 1 callers
Function
debounce
(fn, delay)
js/history/history.js:354
↓ 1 callers
Function
debounce
(func, delay)
js/history/history_detail_globals.js:180
↓ 1 callers
Method
debounce
* 防抖函数 * @param {Function} func - 要防抖的函数 * @param {number} wait - 等待时间(毫秒) * @returns {Function} 防抖后的函数
js/ui/ocr-settings.js:595
↓ 1 callers
Method
decodeGif
(bytes)
js/history/exporter/history_exporter_docx.js:1380
↓ 1 callers
Method
decodeImageSize
(base64, ext)
js/history/exporter/history_exporter_docx.js:1318
↓ 1 callers
Function
decrementDocumentCount
(userId, fileSize = 0)
server/src/utils/quota.js:127
↓ 1 callers
Function
dedupeRepeatedSequence
(input)
js/history/exporter/history_exporter_docx.js:1848
↓ 1 callers
Function
dedupeSplitRepeats
(input)
js/history/exporter/history_exporter_docx.js:1871
↓ 1 callers
Function
deduplicateMatches
* 去重匹配结果
js/chatbot/agents/advanced-search-tools.js:361
↓ 1 callers
Function
deduplicateMatches
* 去除重叠的注释匹配
js/processing/annotation_plugin_ast.js:189
↓ 1 callers
Function
deepDecode
(s, limit)
js/boot/backend-gate.js:23
↓ 1 callers
Function
deleteBatchRecords
(batchId)
js/history/history.js:2152
↓ 1 callers
Method
deleteByDocId
* 删除指定文档的所有向量 * @param {string} docId
js/chatbot/agents/vector-store.js:289
↓ 1 callers
Function
deleteCustomSourceSite
* 删除指定的自定义源站配置及其关联的API Keys和最后成功记录。 * @param {string} sourceSiteId - 要删除的源站的 ID。
js/storage/storage.js:1263
↓ 1 callers
Function
deleteGlossarySet
(id)
js/storage/storage.js:732
↓ 1 callers
Function
deleteGlossarySet
* 删除术语库集合
app/api/glossary/sets/[setId]/route.ts:40
↓ 1 callers
Function
deleteGlossarySet
(setId)
server/src/routes/glossary.js:58
↓ 1 callers
Function
deleteGlossarySetAsync
(id)
js/storage/storage.js:723
↓ 1 callers
Function
deleteGlossarySetFromBackend
* 从后端删除术语库集合
js/storage/glossary-storage.js:294
↓ 1 callers
Function
deleteGlossarySetFromIDB
* 从 IndexedDB 删除术语库集合
js/storage/glossary-storage.js:132
↓ 1 callers
Function
deleteMessageFromHistory
* 删除指定索引的聊天消息 * @param {string} docId 当前文档的ID * @param {number} index 要删除消息的索引 * @param {function} updateUIAfterDelete 删除后更新UI的回调函数 * @par
js/chatbot/core/chat-history-manager.js:168
↓ 1 callers
Function
deleteMistralFile
* 删除已上传到 Mistral 的文件,以释放云端存储空间。 * 此函数在执行删除操作时,如果遇到失败,仅会在控制台打印警告,不会向上抛出错误中断主流程。 * * @param {string} fileId - 需要删除的 Mistral 文件 ID。 * @param {str
js/api/api.js:150
↓ 1 callers
Method
deleteMistralFile
* 删除 Mistral 文件 * @param {string} fileId * @param {string} apiKey * @returns {Promise<void>}
js/process/ocr-adapters/mistral-adapter.js:202
↓ 1 callers
Method
deleteReference
(docId, refId)
js/storage/storage-adapter.js:298
↓ 1 callers
Method
deleteReference
* 删除文献
js/ui/reference-manager-ui.js:958
↓ 1 callers
Method
destroy
* 清理 Worker
js/processing/formula_post_processor_async.js:460
↓ 1 callers
Method
destroy
* 清理资源
js/history/history_pdf_compare.js:2773
↓ 1 callers
Function
destroyTocDockResizer
()
js/ui/immersive_layout_logic.js:208
↓ 1 callers
Method
detectAlignPairType
(leftBlock, rightBlock)
js/history/exporter/history_exporter_docx.js:714
↓ 1 callers
Function
detectCrossBlockSelection
()
js/annotations/annotation_logic.js:1290
↓ 1 callers
Function
detectDiagramType
* 🔍 自动检测图表类型 * * 根据节点和连接的特征判断图表类型: * - flowchart: 流程图(有决策节点、线性流程) * - architecture: 架构图(层次分明、模块化) * - network: 网络图(节点相互连接) * - sequence: 序列图(时间顺
js/chatbot/utils/drawio-academic-enhancer.js:272
↓ 1 callers
Function
detectEdgeCrossing
* 检测两条连线是否交叉 * @param {Object} edge1 - {source, target, sourceGeo, targetGeo} * @param {Object} edge2 - {source, target, sourceGeo, targetGeo} * @r
js/chatbot/utils/drawio-layout-optimizer.js:598
↓ 1 callers
Function
detectFormulaType
(element)
js/annotations/annotation_highlighter.js:1012
↓ 1 callers
Function
detectModelsWithExistingKeys
* 使用现有API Key检测源站点的可用模型 * @param {string} siteId - 源站点ID * @param {object} site - 源站点配置对象 * @param {array} validKeys - 可用的API Key列表
js/ui/ui.js:2162
↓ 1 callers
Function
determineOriginalFileName
(record, extension)
js/history/history.js:2096
↓ 1 callers
Function
diagnoseAndFixTableFormat
* 诊断并尝试修复 Markdown 表格的常见格式问题。 * 此函数主要关注表头与分隔行的一致性,以及数据行列数与表头的一致性。 * * 主要步骤: * 1. **预处理**:按行分割表格内容,移除空行和行首尾空格。 * 2. **基本检查**:如果行数少于3行(表头、分隔、至
js/process/tables.js:382
↓ 1 callers
Function
diagnoseDOCXExport
* 诊断 DOCX 导出问题 * @param {Object} payload - 导出数据 * @param {Object} options - 导出选项 * @returns {Object} 诊断报告
js/history/exporter/docx_diagnostic.js:15
↓ 1 callers
Function
disable
(el)
js/index.js:370
↓ 1 callers
Function
displayDocumentsByStatus
(statusData)
admin/admin-enhanced.js:212
↓ 1 callers
Function
displayDocumentsByStatus
(statusData)
admin/modules/stats.js:62
↓ 1 callers
Function
displayPredefinedModelInfo
* 显示预设模型信息
js/chatbot/ui/chatbot-model-config-modal.js:641
↓ 1 callers
Function
displaySourceSiteInfo
* 显示源站点信息
js/chatbot/ui/chatbot-model-config-modal.js:616
↓ 1 callers
Function
displayTopUsers
(topUsers)
admin/admin-enhanced.js:242
↓ 1 callers
Function
displayTopUsers
(topUsers)
admin/modules/stats.js:92
↓ 1 callers
Function
downloadAllResults
(allResultsData)
js/process/download.js:60
↓ 1 callers
Method
downloadAndExtract
* 下载并解压 ZIP * @param {string} zipUrl * @returns {Promise<Object>} { markdown, images, metadata }
js/process/ocr-adapters/mineru-adapter.js:278
↓ 1 callers
Method
downloadAndExtractExport
(zipUrl, statusData)
js/process/ocr-adapters/doc2x-adapter.js:321
↓ 1 callers
Function
downloadFile
* 下载文件
js/ui/reference-manager-detail.js:1687
↓ 1 callers
Method
downloadFile
* 下载文件
js/ui/reference-manager-ui.js:1152
↓ 1 callers
Function
downloadGithubFiles
(owner, repo, ref, treeEntries, pathPrefix)
js/app.js:1552
↓ 1 callers
Function
downloadPdfDirect
* 直接下载 PDF(不通过代理) * @param {string} url - PDF URL * @param {string} filename - 文件名 * @returns {Promise<File>} - 文件对象
js/app.js:1390
↓ 1 callers
Function
downloadPdfFromUrl
* 从 URL 下载 PDF(支持 arXiv 链接识别和 failback 机制) * @param {string} url - PDF URL 或 arXiv 链接 * @returns {Promise<File>} - 下载的文件对象
js/app.js:1306
↓ 1 callers
Function
downloadPdfViaProxy
* 通过 academic-search-proxy 代理下载 PDF(支持分片下载) * @param {string} url - PDF URL * @param {string} filename - 文件名 * @returns {Promise<File>} - 文件对象
js/app.js:1417
↓ 1 callers
Method
downloadWithChunks
* 分片下载大文件 * @param {string} url - 文件 URL * @param {Object} headers - 请求头 * @param {number} chunkSize - 每片大小(默认 10MB) * @returns {Promi
js/process/ocr-adapters/doc2x-adapter.js:260
↓ 1 callers
Method
downloadWithChunks
* 分片下载大文件 * @param {string} url - 文件 URL * @param {Object} headers - 请求头 * @param {number} chunkSize - 每片大小(默认 10MB) * @returns {Promi
js/process/ocr-adapters/mineru-adapter.js:214
↓ 1 callers
Method
downloadWithXHR
* 使用 XMLHttpRequest 下载文件(更可靠的二进制下载) * @param {string} url - 文件 URL * @param {Object} headers - 请求头 * @param {number} timeout - 超时时间(毫秒,默认
js/process/ocr-adapters/mineru-adapter.js:167
↓ 1 callers
Method
drawPlainTextInBox
* 绘制纯文本(Canvas) * @param {boolean} isShortText - 是否为短文本/小标题(会使用更大的最小字号) * @param {Object} cachedInfo - 预处理的字号信息(可选)
js/history/pdf-compare-renderer.js:101
↓ 1 callers
Method
drawPlainTextInBox
* 绘制纯文本(Canvas) * @param {boolean} isShortText - 是否为短文本/小标题(会使用更大的最小字号) * @param {Object} cachedInfo - 预处理的字号信息(可选)
js/history/history_pdf_compare.js:1429
↓ 1 callers
Method
drawPlainTextWithFitting
* 使用文本自适应算法绘制文本(新算法) * @param {number} suggestedFontSize - 可选的建议字号(来自预处理)
js/history/pdf-compare-renderer.js:147
↓ 1 callers
Method
drawPlainTextWithFitting
* 使用文本自适应算法绘制文本(新算法) * 策略: * 1. 尽可能保证和原来的 bbox 块高度一致 * 2. 尽可能放下所有的内容 * 3. 在宽度和高度之间进行平衡,从而尽可能放大字体,但在 bbox 的框架内 * @param {number} suggest
js/history/history_pdf_compare.js:1524
↓ 1 callers
Method
drawPlainTextWithFitting
* 使用文本自适应算法绘制文本(优化版,支持动态行距调整) * @param {CanvasRenderingContext2D} ctx - Canvas 上下文 * @param {string} text - 文本内容 * @param {number} x - X 坐标
js/history/modules/TextFitting.js:368
↓ 1 callers
Method
drawTextInBox
* 在指定区域内绘制自适应大小的文字
js/history/pdf-compare-renderer.js:82
↓ 1 callers
Method
drawTextInBoxAdaptive
* 自适应绘制文字(检测并避免与已绘制文本块重叠) * @returns {Object|null} 返回实际绘制的区域 { x, y, w, h }
js/history/history_pdf_compare.js:1255
↓ 1 callers
Method
drawTextWithFormulaInBox
* 绘制包含公式的文本(HTML + KaTeX)- 兼容旧接口 * @param {boolean} isShortText - 是否为短文本/小标题(会使用更大的字号)
js/history/history_pdf_compare.js:1761
↓ 1 callers
Function
drawioLiteToXml
* 将 DrawioLite AST 转换为 Draw.io XML
js/chatbot/utils/drawio-lite-parser.js:465
↓ 1 callers
Function
embedImagesInMarkdown
(markdown, images)
js/history/history_exporter.js:826
↓ 1 callers
Function
encrypt
(text)
server/src/utils/crypto.js:49
↓ 1 callers
Function
enhancePerformanceMonitoring
* 增强性能监控
js/ui/chunk_compare_integration.js:132
↓ 1 callers
Function
enhanceSwapChunksButton
* 增强切换按钮功能
js/ui/chunk_compare_integration.js:44
↓ 1 callers
Function
enhanceUserPrompt
* 增强用户输入的提示词 * 整合各种提示词增强逻辑,目前主要处理流程图提示词 * * @param {string|Array} userInput - 用户输入,可能是字符串或多模态消息数组 * @returns {string|Array} - 增强后的用户输入
js/chatbot/prompt/prompt-constructor.js:170
↓ 1 callers
Method
enrichMetadata
* 丰富元数据(新版)
js/ui/reference-manager-ui.js:1386
↓ 1 callers
Function
enrichWithDOI
* 使用DOI解析器补充文献的DOI信息 * @param {Array} references - 文献列表 * @param {Function} progressCallback - 进度回调 * @returns {Promise<Array>} 补充后的文献列
js/processing/reference-ai-processor.js:418
↓ 1 callers
Method
ensureBulkBar
* 创建批量操作条(如未存在)
js/ui/prompt-pool-ui.js:1241
↓ 1 callers
Function
ensureChunkLoaded
(index, timeoutMs = 6000)
js/history/history_detail_show_tab.js:1415
↓ 1 callers
Function
ensureChunkPresent
(index, timeoutMs = 4000)
js/history/history_detail_show_tab.js:1403
↓ 1 callers
Function
ensureDataDir
* 确保数据目录存在
app/api/glossary/sets/[setId]/route.ts:13
↓ 1 callers
Function
ensureExporter
(format, shouldZip)
js/history/history.js:1723
↓ 1 callers
Method
ensureFooter
()
js/history/exporter/history_exporter_docx.js:544
↓ 1 callers
Function
ensureOfflineBanner
()
admin/admin-enhanced.js:39
↓ 1 callers
Function
ensureToastContainer
()
admin/admin-enhanced.js:10
↓ 1 callers
Function
ensureTocItemVisible
* 确保激活的 TOC 项在滚动容器中可见 * @param {HTMLElement} link
js/ui/toc_scroll_sync.js:105
↓ 1 callers
Function
equalizePair
(flex)
js/history/history_detail_show_tab.js:1203
↓ 1 callers
Function
equalizePairsOnce
()
js/history/history_detail_show_tab.js:821
↓ 1 callers
Function
esc
(s)
js/process/glossary-core.js:47
↓ 1 callers
Function
escapeHtml
* HTML 转义(备用方案,当 DOMPurify 不可用时) * @private
js/chatbot/utils/safe-markdown-render.js:128
↓ 1 callers
Function
escapeHtml
* 转义 HTML 特殊字符,防止 XSS 攻击。 * 将 &, <, >, ", ' 替换为相应的 HTML 实体。 * @param {string} str 需要转义的原始字符串。 * @returns {string} 转义后的安全字符串。
js/chatbot/utils/chatbot-utils.js:9
↓ 1 callers
Function
escapeHtml
* HTML 转义函数
js/ui/ui-processing.js:801
↓ 1 callers
Function
escapeRegExp
(string)
js/annotations/annotation_logic.js:119
↓ 1 callers
Function
escapeRegExp
* 将 exact 文本转为模糊正则,允许空格、换行模糊匹配,大小写不敏感 * @param {string} exact * @returns {RegExp}
js/history/history_detail_scripts.js:19
↓ 1 callers
Function
estimateTokens
* 估算token数
js/processing/content-list-to-chunks.js:174
↓ 1 callers
Function
evaluateBooleanExpression
* 评估布尔表达式 * 简化版:递归下降解析
js/chatbot/agents/advanced-search-tools.js:247
↓ 1 callers
Method
expandBboxIfPossible
* 智能扩展 bbox 区域(不与其他文本冲突) * 针对小标题和短段落特殊处理,允许更大扩展
js/history/history_pdf_compare.js:1152
↓ 1 callers
Method
export
* 导出缓存(用于持久化)
js/chatbot/utils/katex-cache.js:222
↓ 1 callers
Function
exportAllGlossarySets
()
js/storage/storage.js:928
↓ 1 callers
Function
exportAllGlossarySetsAsync
()
js/storage/storage.js:916
↓ 1 callers
Function
exportAsDocx
(payload, options = {})
js/history/history_exporter.js:595
↓ 1 callers
Function
exportAsDocx
(payload, options = {}, helpers = {})
js/history/exporter/history_exporter_docx.js:5
← previous
next →
1,101–1,200 of 2,373, ranked by callers