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

Function classify

vue.js:816–821  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

814 //非捕获 匹配不分组 。 就是可以包含,但是不匹配上
815 //过滤掉class中的 -_ 符号 并且把字母开头的改成大写
816 var classify = function (str) {
817 return str.replace(classifyRE,
818 function (c) {
819 return c.toUpperCase();
820 }).replace(/[-_]/g, '');
821 };
822
823
824 /***********************************************************************************************

Callers 1

vue.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected