`undefined` css code blocks in /source
See original GitHub issueIf a brew doesn’t have any css added via the editor panel, the brew when viewed via /source
will have a css code-block prepended that looks like this:
```css
undefined
```
That’s a bug, easy to fix.
Also appears in the /download
resource.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Cannot set property 'display' of undefined - Stack Overflow
In this code we add multiple styles in an element: let element = document.querySelector('span') , cssStyle = (el, styles) => { for (var...
Read more >Issues · rajinwonderland/react-code-blocks - GitHub
React code blocks and code snippet components. Contribute to rajinwonderland/react-code-blocks development by creating an account on GitHub.
Read more >Functions — reusable blocks of code - Learn web development
In this article we'll explore fundamental concepts behind functions such as basic syntax, how to invoke and define them, scope, and parameters.
Read more >How to Build a Code Block Web Component
Build a code block web component that can be used on any page, is compatible with different frameworks and can be used by...
Read more >codeblocks undefined reference - Mingo Aerospace
I get an undefined reference when using a function from another source file, despite having a prototype included from a header file. I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So #1850 does this:
@calculuschild testing just now and I concur. It must have been an old brew I was looking at. What we can do is make sure we don’t consume the string “
undefined
” from an old brew and stick that into the style editor.Ah, found these two in my downloads folder:
https://homebrewery.naturalcrit.com/share/HJ-xEkR-77 https://homebrewery.naturalcrit.com/share/1Xy5P5f_d4aYQ8mSSTATBQtKuOLqI8Qs7N7hF0h2ml8Gf
Since this is a minor glitch of bad data that won’t cause any problems, we can safely ignore.