eclipsesource / eclipsesource/tabris-js

Resource system does not allow keys like "h1"

Open
#2,134 1 comment 0 reactions 1 assignee Claimed by @tbuschto View on GitHub
bug
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

Using a key in a json resource file like "h1" does not work. The schema check states property "h1" is not allowed.

### Expected behavior

Any reasonable valid string should be allowed.

### Environment

- Tabris.js version: 3.7

### Code snippet

```js
{
"$schema": "../../node_modules/tabris/schema/fonts.json",
"h1": {
"size": 96
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.