MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / hasOneTime

Function hasOneTime

01.GettingStarted/js/vue.js:7611–7616  ·  view source on GitHub ↗

* Check if an interpolation string contains one-time tokens. * * @param {Array} tokens * @return {Boolean}

(tokens)

Source from the content-addressed store, hash-verified

7609 */
7610
7611 function hasOneTime(tokens) {
7612 var i = tokens.length;
7613 while (i--) {
7614 if (tokens[i].oneTime) return true;
7615 }
7616 }
7617
7618 function isScript(el) {
7619 return el.tagName === 'SCRIPT' && (!el.hasAttribute('type') || el.getAttribute('type') === 'text/javascript');

Callers 1

pushDirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected