<commit_before>'use strict';

angular.module('emission.main.cci-about', ['emission.plugin.logger'])

.controller('CCIAboutCtrl', function($scope, $state, $cordovaEmailComposer, $ionicPopup, SurveyLaunch) {

  $scope.startSurvey = function () {
      SurveyLaunch.startSurvey('https://berkeley.qualtrics.com/jfe/form/SV_eQBjPXx10yaAScl', 'QR~QID3');
      startSurvey();
  };
	
  $scope.emailCCI = function() {
        var email = {
            to: ['<EMAIL>'],
            subject: 'Question from Emission User',
            body: ''
        }

        $cordovaEmailComposer.open(email).then(function() {
           window.Logger.log(window.Logger.LEVEL_DEBUG,
               "CCI email queued successfully");
        },
        function () {
           window.Logger.log(window.Logger.LEVEL_INFO,
               "CCI email cancel reported, seems to be an error on android");
        });
  };
  var SURVEY_DONE_KEY = 'survey_done';
  storage.remove(SURVEY_DONE_KEY);
})<commit_msg>Remove unused code that breaks the file<commit_after>'use strict';

angular.module('emission.main.cci-about', ['emission.plugin.logger'])

.controller('CCIAboutCtrl', function($scope, $state, $cordovaEmailComposer, $ionicPopup, SurveyLaunch) {

  $scope.startSurvey = function () {
      SurveyLaunch.startSurvey('https://berkeley.qualtrics.com/jfe/form/SV_eQBjPXx10yaAScl', 'QR~QID3');
      startSurvey();
  };
	
  $scope.emailCCI = function() {
        var email = {
            to: ['<EMAIL>'],
            subject: 'Question from Emission User',
            body: ''
        }

        $cordovaEmailComposer.open(email).then(function() {
           window.Logger.log(window.Logger.LEVEL_DEBUG,
               "CCI email queued successfully");
        },
        function () {
           window.Logger.log(window.Logger.LEVEL_INFO,
               "CCI email cancel reported, seems to be an error on android");
        });
  };
})
{'fraction_non_alphanumeric': 0.14211076280041798, 'fraction_numerical': 0.003134796238244514, 'mean_word_length': 2.6756238003838773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5906955', 'n_tokens_mistral': 604, 'n_tokens_neox': 586, 'n_words': 102}