Giter Club home page Giter Club logo

Comments (7)

ckirkendall avatar ckirkendall commented on July 28, 2024

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.

ckirkendall avatar ckirkendall commented on July 28, 2024

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.

dokuryoku avatar dokuryoku commented on July 28, 2024

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

  1. delete enfocus 1.0.0-beta3 from ~/.m2/repository

  2. change deps in projects.clj to [enfocus "1.0.0-SNAPSHOT"]

  3. lein clean

  4. lein deps -> 1.0.0-SNAPSHOT gets fetched

  5. setup selectors. i tried 2 variants with corresponding templates

    div#content > *
    div.content > *

  6. lein cljsbuild once

  7. start jetty with lein run

  8. clear browser-state

  9. 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.

dokuryoku avatar dokuryoku commented on July 28, 2024

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.

ckirkendall avatar ckirkendall commented on July 28, 2024

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.

ckirkendall avatar ckirkendall commented on July 28, 2024

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.

dokuryoku avatar dokuryoku commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.