Giter VIP home page Giter VIP logo

Comments (2)

viktorix avatar viktorix commented on June 12, 2024

I like the idea. My main question is, what happens if a plugin/theme enqueues those scripts? Will we continue to include them for backward compatibility?

HTML5Sortable disclaimer says:

A fair warning: this repository is currently not being actively developed. It works pretty fine, but if you find any issues you will need to fix them yourself. I try to keep the dependencies up to date and will happily help you fix issues and merge PRs for bugfixes or new features.

So if we find issues, we could submit PRs or fix our own copy of the library.

from classicpress-v2.

KTS915 avatar KTS915 commented on June 12, 2024

I like the idea. My main question is, what happens if a plugin/theme enqueues those scripts? Will we continue to include them for backward compatibility?

Initially, we'll keep the scripts in the CP bundle, so anyone using them in a theme or plugin wouldn't be affected. (This will, of course, mean that we increase the download size of CP a little as we add the new libraries, but we won't be loading the old scripts.)

If and when we get well along in this project, then I'd suggest we add a deprecation warning whenever someone uses jQuery UI, so that we could remove it altogether from the CP bundle the next time we release a major version. But it will take some time before we get there, and we could even write some blog posts on how (and with what) we've replaced jQuery UI modules, so that those currently using them would have a model on how to follow suit.

So if we find issues, we could submit PRs or fix our own copy of the library.

Yes, that's what I'm thinking too.

from classicpress-v2.

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.