<commit_before>$(document).ready(function () {

  // Set the main path on the server
  let URL="http://localhost/EntracesExitEmployees/index.php/"

  GetCurrentEntrancesExits();


  { /* Region Decode Codes*/

      // Create the objte to will return the info from the code decoded. Event
      var arg = {

        resultFunction: function(result) {

          // decode code info
          var Codetype=result.format;

          // Code type QR or Bar Code
          var Content=result.code;

          // it place the decode val and the code type on the dom
          $('#js_Coderesult').text( Codetype + ': ' + Content );

          // #.... Call Back code

          { /* Region ReisterEntranceExit */

            // Get Employee Number
            var EmployeNumbr=Content;

            $.ajax({
              type:"POST",
              url:URL+"EmployeeController/RegisterEntrance",
              data:{EMPNUM:EmployeNumbr},
              success:function (data) {

                // Display the backend result on the dom
                // alert(data);


                // Update the Extrances and Extis regitser table
                GetCurrentEntrancesExits()

                // Clear decoder result after one sec
                setTimeout(function () {

                  // Clear the decoder val element
                  $('#js_Coderesult').text('');

                }, 1000);

              },
              error:function () {
                alert("An error Ocurred");
              }

            });
            // End ajax call

          } /* End Region */

        }
        // End resultFunction

      };

      // Turn on the web camera and Send Arg to will be decode
      $("canvas").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery.play();

      // Turn Off.
      $("#js_Stop").click(function () {

        // Turn Off camera
        $("canvas").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery.stop();

      });

      $("#js_Play").click(function () {
<commit_msg>Se commento la linea de codigo que regrsaba la info del bakcend en un alert<commit_after>$(document).ready(function () {

  // Set the main path on the server
  let URL="http://localhost/EntracesExitEmployees/index.php/"

  GetCurrentEntrancesExits();


  { /* Region Decode Codes*/

      // Create the objte to will return the info from the code decoded. Event
      var arg = {

        resultFunction: function(result) {

          // decode code info
          var Codetype=result.format;

          // Code type QR or Bar Code
          var Content=result.code;

          // it place the decode val and the code type on the dom
          $('#js_Coderesult').text( Codetype + ': ' + Content );

          // #.... Call Back code

          { /* Region ReisterEntranceExit */

            // Get Employee Number
            var EmployeNumbr=Content;

            $.ajax({
              type:"POST",
              url:URL+"EmployeeController/RegisterEntrance",
              data:{EMPNUM:EmployeNumbr},
              success:function (data) {

                // Display the backend result on the dom
                // alert(data);


                // Update the Extrances and Extis regitser table
                GetCurrentEntrancesExits()

                // Clear decoder result after one sec
                setTimeout(function () {

                  // Clear the decoder val element
                  $('#js_Coderesult').text('');

                }, 1000);

              },
              error:function (hrx) {
                alert("An error Ocurred");
                console.log(hrx.responseText);
              }

            });
            // End ajax call

          } /* End Region */

        }
        // End resultFunction

      };

      // Turn on the web camera and Send Arg to will be decode
      $("canvas").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery.play();

      // Turn Off.
      $("#js_Stop").click(function () {

        // Turn Off camera
        $("canvas").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery.stop();

      });

      $("#js_Play").click(function () {

{'fraction_non_alphanumeric': 0.11350435624394967, 'fraction_numerical': 0.001936108422071636, 'mean_word_length': 1.526283618581907, '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': '3691593', 'n_tokens_mistral': 1142, 'n_tokens_neox': 1027, 'n_words': 290}