* Create an "anchor" for performing dom insertion/removals. * This is used in a number of scenarios: * - fragment instance * - v-html * - v-if * - v-for * - component * * @param {String} content * @param {Boolean} persist - IE trashes empty textNodes on *
(content, persist)
| 1442 | */ |
| 1443 | |
| 1444 | function createAnchor(content, persist) { |
| 1445 | var anchor = config.debug ? document.createComment(content) : document.createTextNode(persist ? ' ' : ''); |
| 1446 | anchor.__v_anchor = true; |
| 1447 | return anchor; |
| 1448 | } |
| 1449 | |
| 1450 | /** |
| 1451 | * Find a component ref attribute that starts with $. |
no outgoing calls
no test coverage detected