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

Function classify

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

Source from the content-addressed store, hash-verified

203 var classifyRE = /(?:^|[-_\/])(\w)/g;
204
205 function classify(str) {
206 return str.replace(classifyRE, toUpper);
207 }
208
209 /**
210 * Simple bind, faster than native

Callers 1

createClassFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected