MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / camelize

Function camelize

01.GettingStarted/js/vue.js:170–172  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

168 var camelizeRE = /-(\w)/g;
169
170 function camelize(str) {
171 return str.replace(camelizeRE, toUpper);
172 }
173
174 function toUpper(_, c) {
175 return c ? c.toUpperCase() : '';

Callers 5

findRefFunction · 0.70
resolveAssetFunction · 0.70
prefixFunction · 0.70
vue.jsFile · 0.70
compilePropsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected