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

Function makeAttrsMap

static/vuejs/vue.js:8170–8179  ·  view source on GitHub ↗
(attrs)

Source from the content-addressed store, hash-verified

8168}
8169
8170function makeAttrsMap (attrs) {
8171 var map = {};
8172 for (var i = 0, l = attrs.length; i < l; i++) {
8173 if ("development" !== 'production' && map[attrs[i].name] && !isIE) {
8174 warn$2('duplicate attribute: ' + attrs[i].name);
8175 }
8176 map[attrs[i].name] = attrs[i].value;
8177 }
8178 return map
8179}
8180
8181function isForbiddenTag (el) {
8182 return (

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected