question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

{[ and ]} with Qute

See original GitHub issue

Description Today, based on https://quarkus.io/guides/qute-reference, the bracket {[ and ]} could be used for unspected character data. This {[ & ]} could be frequent in javascript, for example, this code is used to configure google maps, and it could cause problems if the code is minified and if a space isn’t present between } & ] characters.

 styles:
                        [
                            {"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#d3d3d3"} ] },
                            {"featureType":"transit","stylers":[ {"color":"#808080"},{"visibility":"off"} ] },
                            {"featureType":"road.highway","elementType":"geometry.stroke","stylers":[ {"visibility":"on"},{"color":"#b3b3b3"} ] },
                            {"featureType":"road.highway","elementType":"geometry.fill","stylers":[ {"color":"#ffffff"} ] },
                            {"featureType":"road.local","elementType":"geometry.fill","stylers":[ {"visibility":"on"},{"color":"#ffffff"},{"weight":1.8} ] },
                            {"featureType":"road.local","elementType":"geometry.stroke","stylers":[ {"color":"#d7d7d7"} ] },
                            {"featureType":"poi","elementType":"geometry.fill","stylers":[ {"visibility":"on"},{"color":"#ebebeb"} ] },
                            {"featureType":"administrative","elementType":"geometry","stylers":[ {"color":"#a7a7a7"} ] },
                            {"featureType":"road.arterial","elementType":"geometry.fill","stylers":[ {"color":"#ffffff"} ] },
                            {"featureType":"road.arterial","elementType":"geometry.fill","stylers":[ {"color":"#ffffff"} ] },
                            {"featureType":"landscape","elementType":"geometry.fill","stylers":[ {"visibility":"on"},{"color":"#efefef"} ] },
                            {"featureType":"road","elementType":"labels.text.fill","stylers":[{"color":"#696969"} ] },
                            {"featureType":"administrative","elementType":"labels.text.fill","stylers":[ {"visibility":"on"},{"color":"#737373"} ] },
                            {"featureType":"poi","elementType":"labels.icon","stylers":[ {"visibility":"off"} ] },
                            {"featureType":"poi","elementType":"labels","stylers":[ {"visibility":"off"} ] },
                            {"featureType":"road.arterial","elementType":"geometry.stroke","stylers":[ {"color":"#d6d6d6"} ] },
                            {"featureType":"road","elementType":"labels.icon","stylers":[ {"visibility":"off"} ] },
                            {"featureType":"poi","elementType":"geometry.fill","stylers":[ {"color":"#dadada"} ] }
                            ]

                };

Implementation ideas I would recommand another sequence for this behavior.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mkoubacommented, Aug 31, 2020

I like {| and |}. We’ll keep the original ones for a while though and deprecate it in the docs.

1reaction
mkoubacommented, Aug 31, 2020

Hm, I’ve just discovered that {| and |} is used for Exact object types in Flow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

100 Qute ideas | inspirational quotes, life quotes, positive quotes
Jun 4, 2021 - Explore Navab Behzadi's board "qute" on Pinterest. See more ideas about inspirational quotes, life quotes, positive quotes.
Read more >
Motivating Pictures With Quotes About Life, Love and Happiness
Motivating Pictures With Quotes About Life. Enjoy the latest collection of motivational picture quotes on Everyday Power Blog!
Read more >
25 Sad Love Quotes to Help You Cope with Heartache
When your heart is broken, sometimes a sad love quote is the only thing that will ease your pain. Whether it's a sad...
Read more >
Qute - Etsy
Check out our qute selection for the very best in unique or custom, handmade pieces from our shops.
Read more >
122 I Love You Quotes: Romantic Sayings for Him or Her
122 Best Love Quotes That Prove True Romance Really Does Exists. Powerful phrases and famous sayings you can share with your significant other....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found