<commit_before>'use strict';

// Declare app level module which depends on views, and components
angular.module('txcmaker', [
  'apiConfig',
  'ngRoute',
  'txcmaker.deckImport'
]).
config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
  //$locationProvider.hashPrefix('!');

  $routeProvider.otherwise({redirectTo: '/DeckImport'});
}]);<commit_msg>Austin - fix material design & angular interactions<commit_after>'use strict';

// Declare app level module which depends on views, and components
angular.module('txcmaker', [
  'apiConfig',
  'ngRoute',
  'txcmaker.deckImport'
]).
config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
  //$locationProvider.hashPrefix('!');

  $routeProvider.otherwise({redirectTo: '/DeckImport'});
}])

.run(function () {
    var mdlUpgradeDom = false;
    setInterval(function() {
      if (mdlUpgradeDom) {
        componentHandler.upgradeDom();
        mdlUpgradeDom = false;
      }
    }, 200);

    var observer = new MutationObserver(function () {
      mdlUpgradeDom = true;
    });
    observer.observe(document.body, {
        childList: true,
        subtree: true
    });
    /* support <= IE 10
    angular.element(document).bind('DOMNodeInserted', function(e) {
        mdlUpgradeDom = true;
    });
    */
});
{'fraction_non_alphanumeric': 0.15568862275449102, 'fraction_numerical': 0.0037425149700598802, 'mean_word_length': 3.9518518518518517, 'pattern_counts': {'":': 0, '<': 4, '<?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': '6465543', 'n_tokens_mistral': 410, 'n_tokens_neox': 396, 'n_words': 80}