<commit_before>/* global angular */
'use strict'; // jshint ignore:line


angular.module('lumx.scrollbar', [])
    .service('LxScrollbarService', function()
    {
        this.update = function()
        {
            angular.element('window').trigger('resize');
        };
    })
    .controller('LxScrollbarController', ['$scope', '$window', function($scope, $window)
    {
        var mousePosition,
            scrollbarContainer,
            scrollbarContainerHeight,
            scrollbarContent,
            scrollbarContentHeight,
            scrollbarYAxis,
            scrollbarYAxisHandle,<commit_msg>fix scrollbar: use angular $window selector<commit_after>/* global angular */
'use strict'; // jshint ignore:line


angular.module('lumx.scrollbar', [])
    .service('LxScrollbarService', function($window)
    {
        this.update = function()
        {
            angular.element($window).trigger('resize');
        };
    })
    .controller('LxScrollbarController', ['$scope', '$window', function($scope, $window)
    {
        var mousePosition,
            scrollbarContainer,
            scrollbarContainerHeight,
            scrollbarContent,
            scrollbarContentHeight,
            scrollbarYAxis,
            scrollbarYAxisHandle,
{'fraction_non_alphanumeric': 0.12380952380952381, 'fraction_numerical': 0.0, 'mean_word_length': 2.389784946236559, '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': '1355103', 'n_tokens_mistral': 331, 'n_tokens_neox': 328, 'n_words': 56}