MCPcopy Index your code
hub / github.com/ygs-code/vue / processPre

Function processPre

vue.js:13524–13528  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

13522 }
13523 //检查标签是否有v-pre 指令 含有 v-pre 指令的标签里面的指令则不会被编译
13524 function processPre(el) {
13525 if (getAndRemoveAttr(el, 'v-pre') != null) {
13526 el.pre = true; //标记 标签是否还有 v-pre 指令 ,如果有则为真 含有 v-pre 指令的标签里面的指令则不会被编译
13527 }
13528 }
13529
13530 //浅拷贝属性 把虚拟dom的attrsList拷贝到attrs中,如果没有pre块,标记plain为true
13531 function processRawAttrs(el) {

Callers 1

parseFunction · 0.85

Calls 1

getAndRemoveAttrFunction · 0.85

Tested by

no test coverage detected