仪表盘
版本库
文件存储
活动
搜索
登录
main
/
mom-pro2-after
宁夏三级mom后端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge remote-tracking branch 'origin/fix/hsy/20260811' into dev_business
云
10 天以前
84e29c9adb718b42a693e954d2b771651ef36796
[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 };