formacao
This commit is contained in:
+4
-1
@@ -3,8 +3,11 @@ import { jsxDEV, Fragment } from "./jsx-dev-runtime.js";
|
||||
import { jsxDEV as jsxDEV2 } from "./jsx-dev-runtime.js";
|
||||
import { html, raw } from "../helper/html/index.js";
|
||||
import { escapeToBuffer, stringBufferToString } from "../utils/html.js";
|
||||
import { styleObjectForEach } from "./utils.js";
|
||||
import { isValidAttributeName, styleObjectForEach } from "./utils.js";
|
||||
var jsxAttr = (key, v) => {
|
||||
if (!isValidAttributeName(key)) {
|
||||
return raw("");
|
||||
}
|
||||
const buffer = [`${key}="`];
|
||||
if (key === "style" && typeof v === "object") {
|
||||
let styleStr = "";
|
||||
|
||||
Reference in New Issue
Block a user