<commit_before>var ApplicationController = Ember.Controller.extend({
  ref: Reference.resolve('ujforditas', '1Móz 1'),

  abbr: function() {
    return this.get('ref').abbr;
  }.property('ref'),

  previousChapterPath: function() {
    var prev = this.get('ref').previousChapter();
    return prev && prev.path;
  }.property('ref'),

  noPreviousChapter: function() {
    return !this.get('previousChapterPath');
  }.property('previousChapterPath'),

  nextChapterPath: function() {
    var next = this.get('ref').nextChapter();
    return next && next.path;
  }.property('ref'),

  noNextChapter: function() {
    return !this.get('nextChapterPath');
  }.property('nextChapterPath'),<commit_msg>Using observer for changing abbr property<commit_after>var ApplicationController = Ember.Controller.extend({
  ref: Reference.resolve('ujforditas', '1Móz 1'),

  abbr: '',

  refChanged: function() {
    this.set('abbr', this.get('ref').abbr);
  }.observes('ref'),

  previousChapterPath: function() {
    var prev = this.get('ref').previousChapter();
    return prev && prev.path;
  }.property('ref'),

  noPreviousChapter: function() {
    return !this.get('previousChapterPath');
  }.property('previousChapterPath'),

  nextChapterPath: function() {
    var next = this.get('ref').nextChapter();
    return next && next.path;
  }.property('ref'),

  noNextChapter: function() {
    return !this.get('nextChapterPath');
  }.property('nextChapterPath'),
{'fraction_non_alphanumeric': 0.17517241379310344, 'fraction_numerical': 0.002758620689655172, 'mean_word_length': 4.66796875, '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': '6620748', 'n_tokens_mistral': 467, 'n_tokens_neox': 425, 'n_words': 85}