<commit_before>/*jshint expr:true */
describe('backbone.layout', function () {

  var View = Backbone.View;
  var ViewA = View.extend({ className: 'view-a' });
  var ViewB = View.extend({ className: 'view-b' });
  var ViewC = View.extend({ className: 'view-c' });
  var ViewCache = View.extend({
    initialize: function () {
      sinon.spy(this, 'remove');
      this.handler = sinon.spy();
      this.listenTo(this, 'my-event', this.handler);
    }
  });
  var ViewEvents = View.extend({
    initialize: function () {
      this.handler = sinon.spy();
    },
    events: {
      click: 'handler'
    }
  });
  var RenderLayout = Backbone.Layout.extend({
    render: function () {<commit_msg>Fix sepc for >= 1.2.0<commit_after>/*jshint expr:true */
describe('backbone.layout', function () {

  var View = Backbone.View;
  var ViewA = View.extend({ className: 'view-a' });
  var ViewB = View.extend({ className: 'view-b' });
  var ViewC = View.extend({ className: 'view-c' });
  var ViewCache = View.extend({
    initialize: function () {
      sinon.spy(this, 'remove');
      this.handler = sinon.spy();
      this.listenTo(this, 'my-event', this.handler);
    }
  });
  var ViewEvents = View.extend({
    initialize: function () {
      this.handler = sinon.spy();
      this.delegateEvents();
    },
    events: {
      click: 'handler'
    }
  });
  var RenderLayout = Backbone.Layout.extend({
    render: function () {
{'fraction_non_alphanumeric': 0.17543859649122806, 'fraction_numerical': 0.002105263157894737, 'mean_word_length': 2.928374655647383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6089126', 'n_tokens_mistral': 476, 'n_tokens_neox': 472, 'n_words': 102}