Wruczek / Bootstrap-Cookie-Alert

A simple, good looking cookie alert built for Bootstrap 3/4. No dependencies required.
https://wruczek.github.io/Bootstrap-Cookie-Alert/demo-bs5.html
MIT License
237 stars 51 forks source link

Dependencies #2

Closed AndiLeni closed 6 years ago

AndiLeni commented 6 years ago

Hello, I wanted to ask what the'cookiealert-dependencies.js' file is for. The benefits are not yet quite clear to me :)

Regards Andi

Wruczek commented 6 years ago

You should use cookiealert-standalone.js in 99% of the use cases.

If it so happens that you already have jQuery and jsCookie included in your project, you can use the dependencies version. The code is smaller and a little more clean. Other than that - there is no difference between them - they both do exactly the same

AndiLeni commented 6 years ago

Thanks for clarifying. I would put this explanation in the readme file for other users.