Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaller94/demo-react-styleguidist-js-inline-comment
Reproducible demo for https://github.com/styleguidist/react-styleguidist/issues/1189
https://github.com/jaller94/demo-react-styleguidist-js-inline-comment
Last synced: about 1 month ago
JSON representation
Reproducible demo for https://github.com/styleguidist/react-styleguidist/issues/1189
- Host: GitHub
- URL: https://github.com/jaller94/demo-react-styleguidist-js-inline-comment
- Owner: jaller94
- License: mit
- Created: 2018-10-30T18:24:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T20:07:35.000Z (almost 6 years ago)
- Last Synced: 2024-10-19T06:17:04.131Z (2 months ago)
- Language: HTML
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# demo-react-styleguidist-js-inline-comment
Reproducible demo for [a bug with JavaScript inline comment in react-styleguidist](https://github.com/styleguidist/react-styleguidist/issues/1189).### Setup
```
git clone https://github.com/jaller94/demo-react-styleguidist-js-inline-comment.git
npm install
```### Run
Either run the dev server `npm run-script server` or build it `npm run-script build`.### Observing the issue
Open the styleguide in the browser (default for server: http://localhost:6060/).
When you open the JavaScript console, you should see this.![JavaScript log output: Opening and closing comments work! JavaScript error: SyntaxError: missing } after function body. Learn More](screenshot.png)
These errors come from the second `` tag in `react-styleguide.html`, which is valid JavaScript in HTML.