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

Function makeAttrsMap

static/vuejs/vue.common.js:8176–8185  ·  view source on GitHub ↗
(attrs)

Source from the content-addressed store, hash-verified

8174}
8175
8176function makeAttrsMap (attrs) {
8177 var map = {};
8178 for (var i = 0, l = attrs.length; i < l; i++) {
8179 if (process.env.NODE_ENV !== 'production' && map[attrs[i].name] && !isIE) {
8180 warn$2('duplicate attribute: ' + attrs[i].name);
8181 }
8182 map[attrs[i].name] = attrs[i].value;
8183 }
8184 return map
8185}
8186
8187function isForbiddenTag (el) {
8188 return (

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected