<commit_before>define(['jquery', 'backbone', 'underscore', 'helpers/gettext', './inputView'], function($, Backbone, _, gettext, inputView) {
    'use strict';

    return inputView.extend({

        tagName: 'input',
        events: {
            'keyup': 'onChange',
            'focus': 'showTooltip',
            'focusout': 'hideTooltip'
        },

        renderInput: function() {
            this.$el.attr('disabled', 'on');
            this.$el.attr('type', 'text');
            this.$el.attr('name', 'textInput');

            if (this.default_value)
                this.$el.attr('placeholder', this.default_value);
            else
                this.$el.attr('placeholder', gettext('Please click on the right position in the captcha.'));

            if (this.value)
                this.$el.val(this.value);

            return this;
        },

        onClick: function(x,y) {
            this.$el.val(x + "," + y);
            this.onChange();
        },

        clear: function() {
            this.$el.val('');
        },<commit_msg>fixed js hint<commit_after>define(['jquery', 'backbone', 'underscore', 'helpers/gettext', './inputView'], function($, Backbone, _, gettext, inputView) {
    'use strict';

    return inputView.extend({

        tagName: 'input',
        events: {
            'keyup': 'onChange',
            'focus': 'showTooltip',
            'focusout': 'hideTooltip'
        },

        renderInput: function() {
            this.$el.attr('disabled', 'on');
            this.$el.attr('type', 'text');
            this.$el.attr('name', 'textInput');

            if (this.default_value)
                this.$el.attr('placeholder', this.default_value);
            else
                this.$el.attr('placeholder', gettext('Please click on the right position in the captcha.'));

            if (this.value)
                this.$el.val(this.value);

            return this;
        },

        onClick: function(x,y) {
            this.$el.val(x + ',' + y);
            this.onChange();
        },

        clear: function() {
            this.$el.val('');
        },
{'fraction_non_alphanumeric': 0.16682464454976303, 'fraction_numerical': 0.0, 'mean_word_length': 1.7098844672657252, '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': '6808683', 'n_tokens_mistral': 602, 'n_tokens_neox': 585, 'n_words': 118}