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

Function getAndRemoveAttr

static/vuejs/vue.common.js:5528–5540  ·  view source on GitHub ↗
(el, name)

Source from the content-addressed store, hash-verified

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

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