仪表盘
版本库
文件存储
活动
搜索
登录
涂钦
/
mom-pro2-after
分支自
mom-pro2-after
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
feat(database): 添加数据库备份的JDBC兜底方案
云
2026-08-31
6c983ceba714f2f2120fd49dfecda8b01d961634
[~tuqin/mom-pro2-after.git]
/
.github
/
skills
/
impeccable
/
scripts
/
detector
/
shared
/
page.mjs
1
2
3
4
5
6
7
/** Check if content looks like a full page (not a component/partial) */
function isFullPage(content) {
const stripped = content.replace(/<!--[\s\S]*?-->/g, '');
return /<!doctype\s|<html[\s>]|<head[\s>]/i.test(stripped);
}
export { isFullPage };