diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/html.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/html.js b/src/util/html.js index d7d03732..f1511d9d 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -420,6 +420,10 @@ export class Tag { } } +export function attributes(attributes) { + return new Attributes(attributes); +} + export class Attributes { #attributes = Object.create(null); |