Nathan Black

Results 78 comments of Nathan Black

You can (slightly) work around this by using `ParseFile` that does return an error: ``` go tmpl, err := mustache.ParseFile(templateFileName) if err != nil { return "", err } text...

@callmehiphop Any feedback on this?

> Seems like it shouldn't be Yes actually. That's exactly how this bug for here in the first place.

@callmehiphop Any other concerns? I would love to be a contributor to this project to help move it along if you're busy with other things.

@callmehiphop ping... any updates on this? `passthrough()` is broken without this PR.

Yes that does make sense. I'd be a breaking change though; it can be included in the next major version (I'd like to make `chai-dom` an ES Module, see #38)

Seems easy enough to do your own `fragment` chai assertion chain. Why would 70-90% of `chai-dom` users care about this use case?

So to understand your use case, you have a string of HTML, and you want to check that it's parsed correctly?

What might be nice is to have `html()` handle `DocumentFragments` so it stays clean and readable, and very little change to the existing assertion.

Just drop the brackets. I have no build system now so why should I introduce such complexity for no benefit? No tree shaking would be possible still, and as a...