<commit_before>// A tile view for a document's annotations, listed per-document. Allows
// note editing by those who have permission.
dc.ui.Note = Backbone.View.extend({

  className : 'note noselect',

  events : {
    'click .title_link':       'viewNoteInDocument',
    'click .edit_note':        'editNote',
    'click .cancel_note':      'cancelNote',
    'click .save_note':        'saveNote',
    'click .save_draft_note':  'saveNote',
    'click .delete_note':      'deleteNote'
  },

  // Re-render the note when saved.
  constructor : function(options) {
    Backbone.View.call(this, options);
    _.bindAll(this, 'render');
    this.model.bind('change', this.render);
  },<commit_msg>Restore this.options assignment to notes<commit_after>// A tile view for a document's annotations, listed per-document. Allows
// note editing by those who have permission.
dc.ui.Note = Backbone.View.extend({

  className : 'note noselect',

  events : {
    'click .title_link':       'viewNoteInDocument',
    'click .edit_note':        'editNote',
    'click .cancel_note':      'cancelNote',
    'click .save_note':        'saveNote',
    'click .save_draft_note':  'saveNote',
    'click .delete_note':      'deleteNote'
  },

  // Re-render the note when saved.
  initialize : function(options) {
    this.options = options;
    _.bindAll(this, 'render');
    this.model.bind('change', this.render);
  },
{'fraction_non_alphanumeric': 0.1409252669039146, 'fraction_numerical': 0.0, 'mean_word_length': 2.9943181818181817, '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': '6874221', 'n_tokens_mistral': 443, 'n_tokens_neox': 434, 'n_words': 114}