1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-17 18:37:00 +02:00
This commit is contained in:
José Luis Antúnez
2017-02-23 14:55:47 +01:00
committed by GitHub
parent 9e5a127590
commit 0d2c8c09d1

View File

@@ -3,12 +3,12 @@
This release is a special one since it sets up in the path of a better development environment. Although it's far from This release is a special one since it sets up in the path of a better development environment. Although it's far from
perfect, it's a solid beginning. perfect, it's a solid beginning.
All the code has been migrated from jQuery with ES5 to vanilla JavaScript with ES2015 (or ES6) and is fully modular. All the code has been migrated from **jQuery** with ES5 to **vanilla JavaScript with ES2015 (or ES6) and is fully modular**.
This means that WebSlides is a (base module)[src/js/modules/webslides.js] with a solid API (few public methods) and This means that WebSlides is a (base module)[src/js/modules/webslides.js] with a solid API (few public methods) and
it's extended by (plugins)[src/js/plugins]. This leads to more granularity and less code to dive through while fixing a it's extended by (plugins)[src/js/plugins]. This leads to more granularity and less code to dive through while fixing a
bug. bug.
The benefit from this approach is that now it's really easy to extend WebSlides to achieve what you need. You can also **The benefit from this approach is that now it's really easy to extend WebSlides** to achieve what you need. You can also
overwrite current plugins. Say you don't like the current navigation with arrows and want to create a menu instead, you overwrite current plugins. Say you don't like the current navigation with arrows and want to create a menu instead, you
can just write that for yourself with your custom needs and register it as `nav` and it will overwrite our nav with can just write that for yourself with your custom needs and register it as `nav` and it will overwrite our nav with
your code. your code.