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

Function getAndRemoveAttr

static/vuejs/vue.js:5522–5534  ·  view source on GitHub ↗
(el, name)

Source from the content-addressed store, hash-verified

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

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