<commit_before>/**
 * Created with JetBrains RubyMine.
 * User: teamco
 * Date: 11/4/12
 * Time: 11:06 PM
 * To change this template use File | Settings | File Templates.
 */
define([
  'modules/Model',
  'plugins/widgets/widget.content.model'
], function defineMlkshkModel(BaseModel, WidgetContentModel) {

  /**
   * Define Mlkshk model
   * @extends BaseModel
   * @extends WidgetContentModel
   * @class MlkshkModel
   * @constructor
   */
  var MlkshkModel = function MlkshkModel() {

    /**
     * Define preferences
     * @memberOf MlkshkModel
     * @type {{
         *      mlkshkEmbedCode: {type: string, disabled: boolean, value:
         *     undefined, visible: boolean}
         * }}
     */
    this.preferences = {
      mlkshkEmbedCode: {
        type: 'textarea',
        disabled: false,
        value: undefined,
        visible: true
      }
    };

    /**
     * Define rules
     * @memberOf MlkshkModel
     * @type {{}}
     */
    this.rules = {};
  };

  return MlkshkModel.extend('MlkshkModel', {

    /**
     * Set Mlkshk embed code
     * @memberOf MlkshkModel
     * @param {string} embed
     */
    setMlkshkEmbedCode: function setMlkshkEmbedCode(embed) {
      this.setPrefs('mlkshkEmbedCode', embed);
    }

  }, BaseModel.prototype, WidgetContentModel.prototype);
});
<commit_msg>fix code<commit_after>/**
 * Created with JetBrains RubyMine.
 * User: teamco
 * Date: 11/4/12
 * Time: 11:06 PM
 * To change this template use File | Settings | File Templates.
 */
define([
  'modules/Model',
  'plugins/widgets/widget.content.model'
], function defineMlkshkModel(BaseModel, WidgetContentModel) {

  /**
   * Define Mlkshk model
   * @extends BaseModel
   * @extends WidgetContentModel
   * @class MlkshkModel
   * @constructor
   */
  var MlkshkModel = function MlkshkModel() {

    /**
     * Define preferences
     * @memberOf MlkshkModel
     * @type {{
     *    mlkshkEmbedCode: {
     *      type: string,
     *      disabled: boolean,
     *      value: undefined,
     *      visible: boolean
     *    }
     * }}
     */
    this.preferences = {
      mlkshkEmbedCode: {
        type: 'textarea',
        disabled: false,
        value: undefined,
        visible: true
      }
    };

    /**
     * Define rules
     * @memberOf MlkshkModel
     * @type {{}}
     */
    this.rules = {};
  };

  return MlkshkModel.extend('MlkshkModel', {

    /**
     * Set Mlkshk embed code
     * @memberOf MlkshkModel
     * @param {string} embed
     */
    setMlkshkEmbedCode: function setMlkshkEmbedCode(embed) {
      this.setPrefs('mlkshkEmbedCode', embed);
    }

  }, BaseModel.prototype, WidgetContentModel.prototype);
});

{'fraction_non_alphanumeric': 0.12425149700598802, 'fraction_numerical': 0.006736526946107785, 'mean_word_length': 2.2959309494451294, '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': '3404710', 'n_tokens_mistral': 940, 'n_tokens_neox': 877, 'n_words': 179}