MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getAndRemoveAttr

Function getAndRemoveAttr

static/vuejs/vue.esm.js:5526–5538  ·  view source on GitHub ↗
(el, name)

Source from the content-addressed store, hash-verified

5524}
5525
5526function getAndRemoveAttr (el, name) {
5527 var val;
5528 if ((val = el.attrsMap[name]) != null) {
5529 var list = el.attrsList;
5530 for (var i = 0, l = list.length; i < l; i++) {
5531 if (list[i].name === name) {
5532 list.splice(i, 1);
5533 break
5534 }
5535 }
5536 }
5537 return val
5538}
5539
5540/* */
5541

Callers 9

getBindingAttrFunction · 0.70
processPreFunction · 0.70
processForFunction · 0.70
processIfFunction · 0.70
processOnceFunction · 0.70
processSlotFunction · 0.70
processComponentFunction · 0.70
transformNodeFunction · 0.70
transformNode$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected