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