json_encode quotes everything except numbers as a string. Therefore in owlCarousel:
"true"/"false" gets ignored - defaults are used
"responsive" value as string causes an TypeError in jQuery - the owl-carousel is not shown
Please merge this PR :-)
I just tested it and it's working like a charm. Being unable to set responsiveness just prevent this plugin to be usable in practice.
This fixes the broken responsive parameter (issue #2) and boolean values handling introduced in v1.0.2
Details:
Testcode:
Output v1.0.1:
Output v1.0.2:
json_encode quotes everything except numbers as a string. Therefore in owlCarousel: "true"/"false" gets ignored - defaults are used "responsive" value as string causes an TypeError in jQuery - the owl-carousel is not shown
Output this version:
works again.