htmv 0.0.59 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler/parser.js +3 -1
- package/package.json +1 -1
package/dist/compiler/parser.js
CHANGED
|
@@ -184,7 +184,9 @@ export function parse(tokens) {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
function startsWithUppercase(text) {
|
|
187
|
-
|
|
187
|
+
if (text[0] === undefined)
|
|
188
|
+
return false;
|
|
189
|
+
return /[A-Z]/.test(text[0]);
|
|
188
190
|
}
|
|
189
191
|
function rawArgsToProps(rawArgs) {
|
|
190
192
|
const props = {};
|