code: function dasherize(s) {
      var cache = STRING_DASHERIZE_CACHE;
      var hit = cache.hasOwnProperty(s);
      if (!hit) {
          cache[s] = decamelize(s).replace(STRING_DASHERIZE, '-');
      }
      return cache[s];
  }
docs: Replaces underscores, spaces, or camelCase with dashes.