Include jquery.cookies

Created on 24 October 2023, about 1 year ago
Updated 26 October 2023, about 1 year ago

It would be nice to also have core/jquery.cookie available.

Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇩🇪Germany demonde

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @demonde
  • Status changed to Closed: works as designed about 1 year ago
  • 🇨🇭Switzerland florianmuellerch Aarau, Switzerland

    Hi @demonde
    Thanks for your suggestion!
    I wasn't aware that there were any more regularly used libraries that relied on jQuery. Apart from jquery.cookies, there were apparently also a lot more, like jquery.ui, jquery.joyride, jquery.form etc...

    I focused the module on jQuery.once as I was in need for that, and it's also quite prominent in the name. Therefore I think I cannot extend the modules scope to bring back "all" jQuery libraries.

    However I would love to link it on the project page if someone does a module like this, e.g. "Bring back jQuery" :-)
    Feel free to use and re-use this module's code if it's of any use to you, if you want to develop such a module.

  • 🇩🇪Germany demonde

    Thanks Florian,

    I just did as you said and just rewrote the code to be able to use the jquery.cookies as well. This works well. Also I removed the jquery library in my custom module since this dependency appears to be not neccesary yet.

Production build 0.71.5 2024