<commit_before>/**
 * Page controller
 */
var HomePage = (function () {
    var config  = require('./test.conf');
    var Utils   = require('./utils');
    var u       = new Utils();
    var CommonPage = require('./common.page');
    var common = new CommonPage();

    function HomePage() {
        
    }

    HomePage.prototype.init = function(route, title) {
        var d = protractor.promise.defer();
        // CUSTOM: You may wish to ensure the client has passed a login screen etc.
        common.goRoute(route, title).then(function () {
            d.fulfill();
        });
        return d.promise;
    };

    return HomePage;
})();

module.exports = HomePage;<commit_msg>Inherit CommonPage prototype<commit_after>/**
 * Page controller
 */
var HomePage = (function () {
    var config  = require('./test.conf');
    var Utils   = require('./utils');
    var u       = new Utils();
    var CommonPage = require('./common.page');

    function HomePage() {

    }

    HomePage.prototype = Object.create(CommonPage.prototype);
    HomePage.prototype.constructor = HomePage;

    HomePage.prototype.init = function(route, title) {
        // CUSTOM: You may wish to ensure the client has passed a login screen etc.
        return this.goRoute(route, title);
    };

    return HomePage;
})();

module.exports = HomePage;
{'fraction_non_alphanumeric': 0.13834586466165413, 'fraction_numerical': 0.0, 'mean_word_length': 2.4842931937172774, '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': '5799934', 'n_tokens_mistral': 387, 'n_tokens_neox': 376, 'n_words': 104}