Giter Site home page Giter Site logo

Symfony syntax not working ? about panther HOT 6 CLOSED

symfony avatar symfony commented on May 22, 2024
Symfony syntax not working ?

from panther.

Comments (6)

arthurchipdean avatar arthurchipdean commented on May 22, 2024

I haven't used this project at all so take this with a grain of salt.

I'm guessing this project only supports valid CSS selectors though. contains is a jQuery selector. If you try using that in document.querySelectorAll it will throw an error.

from panther.

dunglas avatar dunglas commented on May 22, 2024

@arthurchipdean you're right.
I wasn't aware that Symfony supports this syntax, we can add support for it using a JS polyfill.

from panther.

qferr avatar qferr commented on May 22, 2024

@dunglas Do you know when you support jQuery selector ? Thanks

from panther.

dunglas avatar dunglas commented on May 22, 2024

AFAIK, nobody is working on it. But maybe that a better move would be to deprecate support for ˋcontains` in Symfony CssSelector as this selector will not be standardized. WDYT? ping @symfony/deciders

from panther.

lyrixx avatar lyrixx commented on May 22, 2024

I never us this filter, and this is not part of the spec, I'm fine for deprecating it

from panther.

fabpot avatar fabpot commented on May 22, 2024

Deprecating non-standard features works for me. We should probably check that not too many people would be affected by this change though.

from panther.

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.