Comments (7)
This is a bug in how I am handling caching, I have found the issue and need to make sure the fix won't affect other things.
from enfocus.
Can you test your use case with the current 1.0.0-SNAPSHOT. I pushed up a possible fix to clojars a few minutes ago.
from enfocus.
i tried it out but can see no change.
i may be fooled by something (cache or whatever) ... me beeing very new to clojurescript-development.
here my steps
-
delete enfocus 1.0.0-beta3 from ~/.m2/repository
-
change deps in projects.clj to [enfocus "1.0.0-SNAPSHOT"]
-
lein clean
-
lein deps -> 1.0.0-SNAPSHOT gets fetched
-
setup selectors. i tried 2 variants with corresponding templates
div#content > *
div.content > * -
lein cljsbuild once
-
start jetty with lein run
-
clear browser-state
-
browse for results
for me the selectors still fetch only the first child.
using selectors
div#content
div.content
is my workaround for now ... tolerating that the result is wrapped in a superfluous div
thanks for for the quick response ... i like enfocus so far
but will have to play to see the whole picture ;-)
from enfocus.
I guess, that a decent unit-testing-tool and a test-suite would improve situations. the guys at prismatic have recenty come out with https://github.com/Prismatic/cljs-test.
hmm ... looking at source i found example.cljs which is obviously for testing ... so maybe adding a test for the issue and adding instruction how to test in the docs is an option. grüsse.
from enfocus.
I give instructions on how to view the test page under the contributing section of the readme. I am setting up a test specific for this case.
from enfocus.
I have tested this with your use case and it is working for me. Can you do post your stuff to a github repo. Also can you do me a favor and do a lein cljsbuild clean before you do a lein cljsbuild once.
from enfocus.
Also can you do me a favor and do a lein cljsbuild clean before you do a lein cljsbuild once.
did that and now it works ;-) thanks a lot.
from enfocus.
Related Issues (20)
- get-prop doesn't work on data attributes HOT 1
- listen-live looses event information HOT 6
- Multiple Extractions HOT 5
- Add optional callback for when view-binding function completed HOT 6
- debug should be set to false by default HOT 4
- (read-form) on IE8 results in [object]is not ISeqable HOT 7
- How can I use holder.js in html snippet? HOT 4
- Difference in ef/content behaviour HOT 2
- clone-for issue "TypeError: enfocus.core.last_element_child is undefined" HOT 1
- Function based inline snippets HOT 3
- Need escape content in ef/content or make other function that do correct html escaping.
- transform object DocumentFragment to string HOT 5
- event handler functions within hiccup-html HOT 2
- replace-vars broken in clojurescript 1.7.145 HOT 6
- Great project
- Extractor extract node HOT 1
- Clone-for and lists HOT 15
- Hiccup input control - checked and disabled not working HOT 2
- Requiring enfocus.macros under Clojure 1.10 and above triggers an error
- compiling fails at target/cljsbuild-compiler-0/enfocus/core.cljs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enfocus.