Repeated lines on the docs
lsrdg opened this issue · 4 comments
On the branch: gh-pages
Page: javascript/00-carousel
The lines 23 and 23 seem to be unrelated to the previous paragraph:
The carousel comes in two modes: Slide and Fade, both animated via CSS3 transitions. On browsers that do not support transitions they simply change without special effects.
Comes with a markup API that allows running the plugin without writing a single line of JavaScript. This is Responsive's first class API and should be your first consideration when using a plugin.
Actually, they first appeared here where they do make sense:
All plugins come with a data-attribute driven, markup API that allows running the plugin without writing a single line of JavaScript.
This is Responsive's first class API and should be your first consideration when using the plugins.
This API works in a similar, yet enhanced way to Bootstraps Markup API.
Should they be removed, improved or am I just missing something? Just let me know if I should propose a PR.
Sorry, my bad. All pages inside javascript/ contain those lines, and probably that was the intention.
Closing this issue.
Once the Javascript's docs are translated to Portuguese, I'll open an issue over there in other to find a better way to translate it. Anyway, it shouldn't affect to official docs.
My apologies.
Sorry, I didn't get back to you sooner, I completely missed this. Yeah the sentences are completely intentional. I really want the dev to use the data-api
No worries and sorry, I should have checked that before creating the issue. It won't happen again.
And that's totally understandable why should the data-api be used, thanks for reinforcing it. (:
Don't worry about it at all! 😄