code: function prepareOptions(value) {
          var options = {};
  
          if (isType(value, 'String')) {
              XRegExp.forEach(value, /[^\s,]+/, function(match) {
                  options[match] = true;
              });
  
              return options;
          }
  
          return value;
      }
docs: Prepares an options object from the given value.
  
  @private
  @param {String|Object} value Value to convert to an options object.
  @returns {Object} Options object.