code: function camelize(string) {
    return string.replace(/-+(.)?/g, function(match, character) {
      return character ? character.toUpperCase() : '';
    });
  }
docs: Camelizes a string
  @memberOf fabric.util.string
  @method camelize
  @param {String} string String to camelize
  @return {String} Camelized version of a string