<commit_before>var page = require("webpage").create();
var url = "./resources/public/index.html";

page.onConsoleMessage = function (message) {
    console.log(message);
};

page.onCallback = function (data) {
    if (data && data.hasOwnProperty("exit")) {
        phantom.exit(data.exit);
    }<commit_msg>Linted browser_test.js<commit_after>'use strict';

/*jslint node: true, browser: true, indent: 2*/
/*global phantom*/

var page = require("webpage").create();
var url = "./resources/public/index.html";

page.onConsoleMessage = function (message) {
  console.log(message);
};

page.onCallback = function (data) {
  if (data && data.hasOwnProperty("exit")) {
    phantom.exit(data.exit);
  }
{'fraction_non_alphanumeric': 0.17672413793103448, 'fraction_numerical': 0.0014367816091954023, 'mean_word_length': 4.361538461538461, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '296687', 'n_tokens_mistral': 228, 'n_tokens_neox': 221, 'n_words': 46}