Add <%br= %> jqhtml syntax docs, class override detection, npm update

Document event handler placement and model fetch clarification

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-01-15 10:16:06 +00:00
parent 61f8f058f2
commit 1594502cb2
791 changed files with 7044 additions and 6089 deletions

View File

@@ -10,17 +10,15 @@ const apiPolyfills = {
throwVersionError(range, api.version);
}
};
{
Object.assign(apiPolyfills, {
targets: () => () => {
return {};
},
assumption: () => () => {
return undefined;
},
addExternalDependency: () => () => {}
});
}
Object.assign(apiPolyfills, {
targets: () => () => {
return {};
},
assumption: () => () => {
return undefined;
},
addExternalDependency: () => () => {}
});
function declare(builder) {
return (api, options, dirname) => {
let clonedApi;
@@ -35,7 +33,7 @@ function declare(builder) {
const declarePreset = exports.declarePreset = declare;
function copyApiObject(api) {
let proto = null;
if (typeof api.version === "string" && /^7\./.test(api.version)) {
if (typeof api.version === "string" && api.version.startsWith("7.")) {
proto = Object.getPrototypeOf(api);
if (proto && (!hasOwnProperty.call(proto, "version") || !hasOwnProperty.call(proto, "transform") || !hasOwnProperty.call(proto, "template") || !hasOwnProperty.call(proto, "types"))) {
proto = null;
@@ -58,7 +56,7 @@ function throwVersionError(range, version) {
Error.stackTraceLimit = 25;
}
let err;
if (version.slice(0, 2) === "7.") {
if (version.startsWith("7.")) {
err = new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` + `You'll need to update your @babel/core version.`);
} else {
err = new Error(`Requires Babel "${range}", but was loaded with "${version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`);

File diff suppressed because one or more lines are too long