code: function _parseAttr(val, isClick) {
          try {
              if (isClick) {
                  /*jshint evil: true */
                  var fn = Function(val);
  
                  return fn ? fn() : {};
              }
  
              return JSON.parse(val);
          } catch (err) {
              return undefined;
          }
      }
docs: Parses the given in HTML attribute JSON
  @param {String} val
  @param {Boolean} [isClick]
  @returns {Object}