germanysbestkeptsecret / Wookmark-jQuery

A jQuery plugin to create a dynamic, multi-column layout.
MIT License
2.64k stars 759 forks source link

Error JSON.parse #226

Closed clementaf closed 8 years ago

clementaf commented 8 years ago

Hello, I have this erros when i want to use filter: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 3. This is for the line : "itemFilterClasses = JSON.parse(getData(item, 'filter-class', false, ''));"

When the li has the class "data-filter-class", i have this problem.

I don't find solution.

Sebobo commented 8 years ago

Hi,

what is the attribute value for your item which has data-filter-class?

clementaf commented 8 years ago

Hello, the error comes from me. Formatting PHP was not good. I solved the problems. Sorry for the loss of time. Anyway, I find your plugin that is really convenient.