<commit_before>'use strict';

angular.module('copayApp.controllers').controller('preferencesLogs',
  function($scope, historicLog) {

    $scope.$on("$ionicView.enter", function(event, data) {
      $scope.logs = historicLog.get();

      $scope.prepare = function() {
        var log = 'Copay Session Logs\n Be careful, this could contain sensitive private data\n\n';
        log += '\n\n';<commit_msg>adding missing isCordova variable<commit_after>'use strict';

angular.module('copayApp.controllers').controller('preferencesLogs',
  function($scope, historicLog, platformInfo) {

    $scope.$on("$ionicView.beforeEnter", function(event, data) {
      $scope.isCordova = platformInfo.isCordova;
    });

    $scope.$on("$ionicView.enter", function(event, data) {
      $scope.logs = historicLog.get();

      $scope.prepare = function() {
        var log = 'Copay Session Logs\n Be careful, this could contain sensitive private data\n\n';
        log += '\n\n';
{'fraction_non_alphanumeric': 0.1536863966770509, 'fraction_numerical': 0.0, 'mean_word_length': 3.8686868686868685, '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': '6121071', 'n_tokens_mistral': 298, 'n_tokens_neox': 289, 'n_words': 62}