<commit_before>"use strict";

/* Controllers */

var trelloBlogControllers = angular.module( "trelloBlogControllers", [] );

trelloBlogControllers.controller( "PostListCtrl", ["$scope",
  function ( $scope ) {
    var success = function ( data ) {
      console.log( data );
      $scope.posts = data;
      $scope.$digest();
    };

    var error = function ( err ) {
      console.log( err );
    };

    Trello.lists.get( "533f122757218a7e2c84c2cb/cards", success, error );
  }
] );

trelloBlogControllers.controller( "PostDetailCtrl", ["$scope",
  function ( $scope ) {

  }
] );<commit_msg>Avoid global variable<commit_after>"use strict";

/* Controllers */

angular.module("trelloBlogControllers", [])
  .controller("PostListCtrl", ["$scope",
    function ($scope) {
      var success = function (data) {
        console.log(data);
        $scope.posts = data;
        $scope.$digest();
      };

      var error = function (err) {
        console.log(err);
      };

      Trello.lists.get("533f122757218a7e2c84c2cb/cards", success, error);
    }
  ])
  .controller("PostDetailCtrl", ["$scope",
    function ($scope) {

    }
  ]);
{'fraction_non_alphanumeric': 0.16608084358523725, 'fraction_numerical': 0.029876977152899824, 'mean_word_length': 2.9825174825174825, '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': '1953032', 'n_tokens_mistral': 407, 'n_tokens_neox': 379, 'n_words': 66}