<commit_before>document.addEventListener('deviceready', function() {
    angular.bootstrap(document, ['BlueCube']);
}, false);

angular.module('BlueCube', ['ionic', 'BlueCube.controllers', 'ngCordova', 'BlueCube.directives', 'BlueCube.services', 'BlueCube.utils', 'pascalprecht.translate', 'jett.ionic.content.banner'])

.run(function($ionicPlatform) {
	$ionicPlatform.ready(function() {
		// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
		// for form inputs)
		if (window.cordova && window.cordova.plugins.Keyboard) {
			cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
			cordova.plugins.Keyboard.disableScroll(true);
		}

		if (window.StatusBar) {
			// org.apache.cordova.statusbar required
			StatusBar.styleDefault();
		}

	});
})

.config(function($stateProvider, $urlRouterProvider, $translateProvider) {
  $translateProvider.translations('en-AU', {
      colourSpelling: "Colour",
      favouriteSpelling: "Favourite"
  });
  $translateProvider.translations('en-US', {
      colourSpelling: "Color",
      favouriteSpelling: "Favorite"
  });

  $translateProvider.preferredLanguage("en-AU");
  $translateProvider.fallbackLanguage("en-AU");

	$stateProvider
		.state('app', {
			url: '/app',
			abstract: true,
			templateUrl: 'templates/menu.html',<commit_msg>Avoid a possible XSS issue with the translation text.<commit_after>document.addEventListener('deviceready', function() {
    angular.bootstrap(document, ['BlueCube']);
}, false);

angular.module('BlueCube', ['ionic', 'BlueCube.controllers', 'ngCordova', 'BlueCube.directives', 'BlueCube.services', 'BlueCube.utils', 'pascalprecht.translate', 'ngSanitize', 'jett.ionic.content.banner'])

.run(function($ionicPlatform) {
	$ionicPlatform.ready(function() {
		// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
		// for form inputs)
		if (window.cordova && window.cordova.plugins.Keyboard) {
			cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
			cordova.plugins.Keyboard.disableScroll(true);
		}

		if (window.StatusBar) {
			// org.apache.cordova.statusbar required
			StatusBar.styleDefault();
		}

	});
})

.config(function($stateProvider, $urlRouterProvider, $translateProvider) {
  $translateProvider.translations('en-AU', {
      colourSpelling: "Colour",
      favouriteSpelling: "Favourite"
  });
  $translateProvider.translations('en-US', {
      colourSpelling: "Color",
      favouriteSpelling: "Favorite"
  });

  $translateProvider.preferredLanguage("en-AU");
  $translateProvider.fallbackLanguage("en-AU");
  $translateProvider.useSanitizeValueStrategy('sanitize');

	$stateProvider
		.state('app', {
			url: '/app',
			abstract: true,
			templateUrl: 'templates/menu.html',
{'fraction_non_alphanumeric': 0.1517566099239406, 'fraction_numerical': 0.0, 'mean_word_length': 5.097130242825607, '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': '1034046', 'n_tokens_mistral': 909, 'n_tokens_neox': 857, 'n_words': 145}