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