jonahbron / angular-owl-carousel

**ARCHIVED**: This library is for AngularJS. Neither that framework nor this library should be used at this point in time.
43 stars 36 forks source link

JSON.parse error because owl-options attribute required #12

Closed FranciZ closed 7 years ago

FranciZ commented 8 years ago

This is not documented in the example but the owl-options attribute is required or the JSON.parse fails on line 15.

itwasmattgregg commented 8 years ago

@FranciZ how did you fix this?

rickerd commented 8 years ago

Use the master branch. There isn't a release / tag made that has the fix in it. It has to do with JSON parse. You can put owl-options="{}" to quickfix the error. But no options will be passed to the directive since the object is empty.

jonahbron commented 7 years ago

@rickerd @FranciZ I made a new release from the master (v0.3.0), should fix your problem. Thank @rickerd.