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

@@ -29,11 +29,9 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
name: "transform-classes",
visitor: {
ExportDefaultDeclaration(path) {
var _path$splitExportDecl;
if (!path.get("declaration").isClassDeclaration()) return;
{
var _path$splitExportDecl;
(_path$splitExportDecl = path.splitExportDeclaration) != null ? _path$splitExportDecl : path.splitExportDeclaration = require("@babel/traverse").NodePath.prototype.splitExportDeclaration;
}
(_path$splitExportDecl = path.splitExportDeclaration) != null ? _path$splitExportDecl : path.splitExportDeclaration = require("@babel/traverse").NodePath.prototype.splitExportDeclaration;
path.splitExportDeclaration();
},
ClassDeclaration(path) {
@@ -44,14 +42,12 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
path.replaceWith(_core.types.variableDeclaration("let", [_core.types.variableDeclarator(ref, _core.types.toExpression(node))]));
},
ClassExpression(path, state) {
var _path$ensureFunctionN;
const {
node
} = path;
if (VISITED.has(node)) return;
{
var _path$ensureFunctionN;
(_path$ensureFunctionN = path.ensureFunctionName) != null ? _path$ensureFunctionN : path.ensureFunctionName = require("@babel/traverse").NodePath.prototype.ensureFunctionName;
}
(_path$ensureFunctionN = path.ensureFunctionName) != null ? _path$ensureFunctionN : path.ensureFunctionName = require("@babel/traverse").NodePath.prototype.ensureFunctionName;
const replacement = path.ensureFunctionName(supportUnicodeId);
if (replacement && replacement.node !== node) return;
VISITED.add(node);