Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
apply: function() {
var
content = '';
new HTMLParser(this.content, {
html5: typeof this.options.html5 !== 'undefined' ? this.options.html5 : true,
start: function(tag, attrs, unary) {
var
attrIndex,
attrName,
attrValue,
classNameBuilder,
classList,
className,
classIndex;
content += '<' + tag;
for (attrIndex = 0; attrIndex < attrs.length; attrIndex++) {
attrName = attrs[attrIndex].name;
if (/^(?:data-)?ng[:-]?[\w-]+$/i.test(attrName)) {