Add the possibility to change offenders' layout

This commit is contained in:
Gaël Métais
2015-01-16 15:52:56 +01:00
parent 49a6e4633a
commit bce7a1ad9a
12 changed files with 248 additions and 20 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ describe('index.js', function() {
"abnormal": false,
"score": 100,
"abnormalityScore": 0,
"offenders": ["body > h1[1]"]
"offenders": "<div class=\"domTree\"><div><span>body</span><div><span>h1[1]</span></div></div></div>",
"offendersCount": 1
});
// Test javascriptExecutionTree