John Albin Wilkins

Results 117 comments of John Albin Wilkins

I just opened a feature request which might do what you want. #82 I won't have time to work on it for free any time soon.

Actually, we should add this rationale to some docs.

> your code only mocks fetch, but Angular uses XHR, so it's important to note that it's not compatible with Angular apps. Fair enough. But if an app needs XHR...

Specifically, the [TypeScript docs](https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing) say: > It’s important to note that the **CommonJS entrypoint and the ES module entrypoint each needs its own declaration file, even if the contents are...

I've added this to the implementation notes on the wiki. https://github.com/twigjs/twig.js/wiki/Implementation-Notes

@willrowe I think you are misreading the docs. The `include` _tag_ is listed as supported. I added the note about the `include` function that says: > `include`: Throws error: "include...

This PR also fixes #749

~~Blocked by #740~~ And… unblocked now.

I just refactored the type definitions so they aren't in one giant file and broke this PR. Sorry!