MCPcopy Create free account
hub / github.com/dashnowords/imfe / parseModifiers

Function parseModifiers

chapter17/vue.js:10415–10422  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10413 }
10414
10415 function parseModifiers (name) {
10416 var match = name.match(modifierRE);
10417 if (match) {
10418 var ret = {};
10419 match.forEach(function (m) { ret[m.slice(1)] = true; });
10420 return ret
10421 }
10422 }
10423
10424 function makeAttrsMap (attrs) {
10425 var map = {};

Callers 1

processAttrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected