Hi folks!
I’m just wondering if what I’m seeing is a bug or not, and thought I’d pass it along.
Here’s a minimal example which works: Button test 2 / Carlos Scheidegger / Observable, and here’s a minimal example which doesn’t: Button test / Carlos Scheidegger / Observable
You’ll notice that in the latter, I’m using the html`` template to expand the event handler clicked
, like so: html<button onclick=${clicked}>...</button>
. Even if this isn’t supposed to work, I was surprised that it fails silently, and the console reports an error inside the web worker, “Unexpected end of input”.
Thanks for all your work on js and observable, <3
-carlos