non-jquery jointjs
Do you think there's a place on the roadmap for a jointjs that removes the dependency on jquery?
I think if such a thing would be done, the best way to start would be to first create a shim that includes only the jQuery methods that joint uses (in core, plug-ins, and tests).
This is on the road-map for the second half of this year.
@chill117 great :sparkles:
Hi guys, it's 2019 and I think it might not be a such a bad idea to bump this thread, especially with 3.0 being recently published. Don't you think it would be nice to replace jQuery with standard commands? I'd love to contribute if there's such an option, but I want to know first if you are wiling to move away from jQuery?
@chill117 what do you think?
Hello! Might be better to ask @kumilingus about this one.
Hi @waszqba, sorry for the late reply.
Few notes here. The users are not forced to use any jQuery API while using JointJS. There are a few exceptions where we still expose a jQuery object/features.
jQuery.Eventin paper event handlers (e.g.evt.datamechanism)- jQuery Sizzle non-standard CSS Selectors in cell's definition e.g.
attrs: { 'circle:odd': { fill: 'red' }}(this can be deprecated in favour of JSON Markup Selectors/standard CSS Selectors) - Backbone.View (depends on jQuery) -
eventsbindings (https://backbonejs.org/#View-events), events namespaces (https://api.jquery.com/event.namespace/) - replacing addClass/removeClass jQuery API and similar it's not an issue here
- I might have missed something
Yes, we're keen to finally get rid of the jQuery. We prefer do it gently though :) So the users/us don't suffer from the breaking changes to much.
Thanks for answer @kumilingus, is there any way I can support you (or at least try to do so) with the transition? I see you are deeply integrated with jQuery, but I believe there might be some way to ditch it easily (not quickly tho).
That would greatly appreciated :) Here's a list of tasks we might start working on (I'll be adding more items soon).
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
Still relevant I think.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
Bump
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
Bump
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
Bump
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
bump
jQuery removed in v4.0.0.
Whoo congratulations