<commit_before>(function () {
  'use strict';

  var mod = angular.module('components.notifications', []);

  mod.factory('Notifications', ['$window', function Notifications($window) {

    function create(title, body, icon) {

      return new Notification(title, {
        body: body,
        icon: icon || '/img/buffer-icon-32.png'
      });
    }

    return {
      create: create
    };
  }]);

}());<commit_msg>Finish Notifications components<commit_after>(function () {
  'use strict';

  var mod = angular.module('components.notifications', []);

  mod.factory('Notifications', ['$window', function Notifications($window) {

    function create(title, body, icon, tag) {

      return new $window.Notification(title || 'Buffer', {
        body: body,
        icon: $window.location.origin + (icon || '/img/buffer-icon-32.png'),
        tag: tag
      });
    }

    return {
      create: create
    };
  }]);

}());
{'fraction_non_alphanumeric': 0.17189189189189188, 'fraction_numerical': 0.004324324324324324, 'mean_word_length': 2.8423236514522823, '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': '5316394', 'n_tokens_mistral': 285, 'n_tokens_neox': 270, 'n_words': 57}