Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public ['PART.attr'](rawName: string, rawValue: string, parts: string[]): AttrSyntax {
return new AttrSyntax(rawName, rawValue, parts[0], 'attr');
}
}
this.prototype[bindPattern] = function (rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, parts[1], bindPattern);
};
}
[attribute](rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, '', attribute);
}
};
this.prototype[alias] = function (rawName: string, rawValue: string, parts: string[]): AttrSyntax {
return new AttrSyntax(rawName, rawValue, '', alias);
};
}
this.prototype[bindPattern] = function (rawName, rawValue, parts) {
return new jit_1.AttrSyntax(rawName, rawValue, parts[1], bindPattern);
};
}
['style.PART'](rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, parts[1], 'style');
}
['PART.style'](rawName, rawValue, parts) {
public [attribute](rawName: string, rawValue: string, parts: string[]): AttrSyntax {
return new AttrSyntax(rawName, rawValue, '', attribute);
}
}
['class.PART'](rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, parts[1], 'class');
}
['PART.class'](rawName, rawValue, parts) {
this.prototype[alias] = function (rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, '', alias);
};
}
['style.PART'](rawName, rawValue, parts) {
return new AttrSyntax(rawName, rawValue, parts[1], 'style');
}
['PART.style'](rawName, rawValue, parts) {