sanctuary-js / sanctuary

:see_no_evil: Refuge from unsafe JavaScript
https://sanctuary.js.org
MIT License
3.03k stars 94 forks source link

sanctuary-def@0.18.1 #564

Closed davidchambers closed 6 years ago

davidchambers commented 6 years ago

While discussing browser usage in #409, @JAForbes wrote:

I think we should also explain why such a type isn't included by default.

I don't think we had a good reason for not including a type such as $.HtmlElement in the default environment. With this pull request S.I (document.body) works out of the box, saving us from documenting how one could define this type oneself. :)

/cc @krainboltgreene