<commit_before>var cdb = require('cartodb.js-v3');

/**
 * View for a flash message to be displayed at the header.
 */
module.exports = cdb.core.View.extend({

  className: 'FlashMessage FlashMessage--error CDB-Text',

  initialize: function () {
    if (!this.model) throw new Error('model is required');

    this._template = cdb.templates.getTemplate('common/flash_message');

    this.model.on('change', this.render, this);
  },<commit_msg>fix tests<commit_after>var cdb = require('cartodb.js-v3');

/**
 * View for a flash message to be displayed at the header.
 */
module.exports = cdb.core.View.extend({

  className: 'FlashMessage FlashMessage--error CDB-Text',

  initialize: function () {
    if (!this.model) throw new Error('model is required');

    this._template = cdb.templates.getTemplate('organization/flash_message');

    this.model.on('change', this.render, this);
  },
{'fraction_non_alphanumeric': 0.15056179775280898, 'fraction_numerical': 0.0022471910112359553, 'mean_word_length': 4.0625, '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': '830481', 'n_tokens_mistral': 281, 'n_tokens_neox': 267, 'n_words': 69}