code: function parseProps(value) {
    var pattern = /^{/;
    if (pattern.test(value)) {
      value = JSON.parse(value);
    }
    return value;
  }
docs: parseProps
  Return the value of the data-attribute
  Parse the value if it looks like an object
  @param  {String} value
  @return {String} value