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

domina/nodes always returns an empty collection in :optimizations :simple #73

Open
DTB01 opened this issue Jul 18, 2014 · 0 comments
Open

Comments

@DTB01
Copy link

DTB01 commented Jul 18, 2014

domina/nodes always returns an empty collection in :optimizations :simple, but works as expected in optimizations :advanced

To see the issue, for some page with a few divs, run the following code

(js/alert (domina.css/sel "div"))
(js/alert (domina/nodes (domina.css/sel "div")))

The first line
works fine in both :optimizations :simple and :optimizations :advanced

The second line
With :optimizations :simple, an empty collection is displayed
With :optimizations :advanced, a collection of htmlelements is displayed

[domina "1.0.2"]
[org.clojure/clojurescript "0.0-2234"]
[lein-cljsbuild "1.0.3"]

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

No branches or pull requests

1 participant