Refactor XSS linter into smaller files

This commit is contained in:
Anthony Mangano
2018-02-08 17:33:18 -05:00
parent 50574ea914
commit 07ca440226
19 changed files with 2141 additions and 2094 deletions

View File

@@ -0,0 +1,6 @@
var message = 'Rock & Roll';
var x = '<string>' + message + '</strong>';
var template = '<%= invalid %>';
// quiet the linter
alert(x);
alert(template);