KINGgemeenten/accessibilitymonitor — pull request #12 by jessebeach (2014-07-22 02:00:40+00:00)
Title: Changes to match the Quail 2.2.5 tag. Improvements to efficiency of JSON stringification and parsing out of PhantomJS.

Quail 2.2.5 now reports on all Success Criteria (19 total). Although not many are evaluating anything at the moment.

I had to refactor the way we're pushing data out of the ```phantomquail.js``` file. It was redundantly stringifying all the test data (my fault) and when I added a few more Success Criteria, it was blowing up Phantom.

I also reduced the amount of HTML that a case will report. The limit is now a 200 char string. It will indicated if it is truncated, for example:

```
{
"status": "passed",
"selector": "script[type=\"text/javascript\"]",
"html": "``` or ```

``` rather than their entire contents. That should *greatly* reduce the size of the results files. We'll get more optimizations in their soon as well.