<commit_before>define(['app', '/app/views/forms/edit/edit.js'], function (app) {

  app.controller("editAbsCheckpoint", ["$scope", "authHttp", "$filter", "$q", "$routeParams", "$controller", function ($scope, $http, $filter, $q, $routeParams, $controller) {
    $controller('editController', {$scope: $scope});

    _.extend($scope.options, {
      jurisdictions : function () {
        return $q.all([
          $http.get("/api/v2013/thesaurus/domains/D7BD5BDE-A6B9-4261-B788-16839CCC4F7E/terms", { cache: true }),
          $http.get("/api/v2013/thesaurus/terms/5B6177DD-5E5E-434E-8CB7-D63D67D5EBED", { cache: true })
        ]).then(function(o) {
          var jurisdictions = o[0].data;
          jurisdictions.push(o[1].data);

          _.each(jurisdictions, function(element) {
            element.__value = element.name;
          });

          return jurisdictions;
        });
      },
    });

    $scope.ac_jurisdictions = function() {
      return $scope.options.jurisdictions().then(function(jurisdictions) {
        _.each(jurisdictions, function(element) {
          element.__value = element.name;
        });
        return jurisdictions;
      });<commit_msg>extent tour array in CF js<commit_after>define(['app', '/app/views/forms/edit/edit.js'], function (app) {

  app.controller("editAbsCheckpoint", ["$scope", "authHttp", "$filter", "$q", "$routeParams", "$controller", function ($scope, $http, $filter, $q, $routeParams, $controller) {
    $controller('editController', {$scope: $scope});

    _.extend($scope.options, {
      jurisdictions : function () {
        return $q.all([
          $http.get("/api/v2013/thesaurus/domains/D7BD5BDE-A6B9-4261-B788-16839CCC4F7E/terms", { cache: true }),
          $http.get("/api/v2013/thesaurus/terms/5B6177DD-5E5E-434E-8CB7-D63D67D5EBED", { cache: true })
        ]).then(function(o) {
          var jurisdictions = o[0].data;
          jurisdictions.push(o[1].data);

          _.each(jurisdictions, function(element) {
            element.__value = element.name;
          });

          return jurisdictions;
        });
      },
    });

console.log($scope.introOptions)
$scope.introOptions.steps.push(
        {
          element: '.km-yes-no',
          intro: "Welcome to the introduction the ABSCH Dashboard. When the page is fully loaded click 'Next ->' to start the tour.",
        }
    );

    $scope.ac_jurisdictions = function() {
      return $scope.options.jurisdictions().then(function(jurisdictions) {
        _.each(jurisdictions, function(element) {
          element.__value = element.name;
        });
        return jurisdictions;
      });
{'fraction_non_alphanumeric': 0.1668567084758647, 'fraction_numerical': 0.03420752565564424, 'mean_word_length': 2.7386363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5317376', 'n_tokens_mistral': 916, 'n_tokens_neox': 825, 'n_words': 135}