MCPcopy
hub / github.com/Postcatlab/postcat / cssKebabToCamel

Function cssKebabToCamel

src/workbench/browser/src/ng1/lib/angular/angular.js:3228–3230  ·  view source on GitHub ↗

* Converts kebab-case to camelCase. * There is also a special case for the ms prefix starting with a lowercase letter. * @param name Name to normalize

(name)

Source from the content-addressed store, hash-verified

3226 * @param name Name to normalize
3227 */
3228 function cssKebabToCamel(name) {
3229 return kebabToCamel(name.replace(MS_HACK_REGEXP, 'ms-'));
3230 }
3231
3232 function fnCamelCaseReplace(all, letter) {
3233 return letter.toUpperCase();

Callers 1

angular.jsFile · 0.85

Calls 1

kebabToCamelFunction · 0.85

Tested by

no test coverage detected