<commit_before>'use strict'

###*
 # @ngdoc function
 # @name gummyApp.controller:EditInfosCtrl
 # @description
 # # EditInfosCtrl
 # Controller of the gummyApp
###
angular
    .module 'gummyApp'
    .controller 'EditInfosCtrl', ($scope, $rootScope, $timeout) ->


        ###*
         # Movie model
         # @attribute movie
        ###
        $scope.movie = $rootScope.editing.movie


        ###*
         # Close edited movie
         # @method close
        ###
        $scope.close = () ->
            $timeout () ->
                $rootScope.editing = null<commit_msg>add loading to save view<commit_after>'use strict'

###*
 # @ngdoc function
 # @name gummyApp.controller:EditInfosCtrl
 # @description
 # # EditInfosCtrl
 # Controller of the gummyApp
###
angular
    .module 'gummyApp'
    .controller 'EditInfosCtrl', ($scope, $rootScope, $timeout) ->


        ###*
         # Movie model
         # @attribute movie
        ###
        $scope.movie = $rootScope.editing.movie


        ###*
         # Currently loading
         # @attribute loading
        ###
        $scope.loading =
            update: false


        ###*
         # Close edited movie
         # @method close
        ###
        $scope.close = () ->
            $timeout () ->
                $rootScope.editing = null
{'fraction_non_alphanumeric': 0.13302752293577982, 'fraction_numerical': 0.0, 'mean_word_length': 1.7733050847457628, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7419', 'n_tokens_mistral': 381, 'n_tokens_neox': 364, 'n_words': 80}