Skip to content

Commit 72cdd43

Browse files
committed
Minor changes
1 parent 4e1da88 commit 72cdd43

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ export class VElement implements IElementBase
6161
{
6262
if (value[nsAttr] != null)
6363
{
64-
this.attrs[ns] = this.attrs[ns] || {};
65-
this.attrs[ns][nsAttr] = '' + value[nsAttr];
64+
(this.attrs[ns] = this.attrs[ns] || {})[nsAttr] = '' + value[nsAttr];
6665
}
6766
}
6867
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"jsx",
2121
"react",
2222
"node",
23+
"ssr",
2324
"vnode",
2425
"dom",
2526
"vdom"

tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
"moduleResolution": "node",
55
"module": "commonjs",
66
"removeComments": true,
7-
"experimentalDecorators" : true,
8-
"emitDecoratorMetadata": true,
97
"allowSyntheticDefaultImports" : true,
108
"sourceMap": true,
119
"declaration": true

0 commit comments

Comments
 (0)