Matthew Phillips

Results 656 comments of Matthew Phillips

I've never encountered an error, however what you just said frightens me. I use mustache.go to render web pages as well. Do you want the error string in the browser...

It's your library, I'll just check my diff when I update. It's only a couple of lines that need to be changed. Thanks anyways.

Here's a simplified example: https://esbuild.egoist.sh/#W1siaW5kZXgudHMiLHsiY29udGVudCI6ImNsYXNzIEZvbyB7XG4gIHN0YXRpYyBvbmUgPSAnb25lJztcbiAgI3R3byA9ICd0d28nO1xufVxuIn1dLFsiZXNidWlsZC5jb25maWcuanNvbiIseyJjb250ZW50Ijoie1xuICBcImZvcm1hdFwiOiBcImVzbVwiLFxuICBcInRhcmdldFwiOiBcImVzbmV4dFwiLFxuICBcImNkblVybFwiOiBcImh0dHBzOi8vY2RuLnNreXBhY2suZGV2XCJcbn0ifV1d ```js class Foo { static one = 'one'; #two = 'two'; } ``` If you have a static public field and a private field (either...

The bug is here: https://github.com/aghussb/dex/blob/34a93c93e822b845e6a8a230bf41475138ee172a/lib/query/string.js#L34

PR is here: https://github.com/aghussb/dex/pull/1

If `|` becomes valid, would this be something that developers could leverage some how? Meaning would the `URL` constructor be updated to include a `fallback` property? And if so, I'm...

One advantage of add syntax like `|` is that it becomes a generic solution for fallbacks. The `?fallback` query param will work for `std:` URLs if you define it that...

Ok, I see now that package name maps could possibly be a generic solution for fallbacks. If so that works for my use case.

I think the risk exists if someone was to create a speculative polyfill and the standards body later decided to make changes to the API. The risk is avoided if...

@micheleriva it would be nice if this worked in a browser too, so you could back it up in indexeddb.