Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/keepfool/vue-tutorials
/ classify
Function
classify
06.Router/basic/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
createClass
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected