Add vehicle-h2-fee-ledger, customer-management, lease and self-operated ledgers, annotation sources, agent skills, and vite annotation runtime support. Update vehicle management, contract templates, and lease contract flows. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
/** 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 };
|