Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid dependency on global document. #143

Open
Matt-Esch opened this issue Dec 15, 2014 · 0 comments
Open

Avoid dependency on global document. #143

Matt-Esch opened this issue Dec 15, 2014 · 0 comments

Comments

@Matt-Esch
Copy link
Owner

Carried over task from vdom:

I would like to use this library in the context where there is no single global or document (It is a browser code that has access to every document loaded, but there is not a single one that we could pick) there for it isn't possible to provide something like require("global/document").

As far as I see createElement without document, is just for a convenience of the API, if it's really crucial maybe some other package could wrap this createElement to do that.

Matt-Esch/vdom#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant