bestguy / sveltestrap

Bootstrap 4 & 5 components for Svelte
https://sveltestrap.js.org
MIT License
1.3k stars 183 forks source link

Remove debug code #384

Closed iluuu1994 closed 3 years ago

iluuu1994 commented 3 years ago

I'm guessing this was unintentional? Or this avoid some problem with Svelte? Tests revealed no issues.

bestguy commented 3 years ago

Haha, hi @iluuu1994, sorry this is actually needed for the component to work. Without some statement in the script block, the component will be unavailable/compiled away causing issues. I'm happy to change it to another string so users don't have "wtf?" in their apps though.

iluuu1994 commented 3 years ago

Ah, I see :smile: The string doesn't bother me. I just thought it was a mistake. A comment might be helpful :slightly_smiling_face: