<commit_before>///////      Funciones de edicion de apps        ////// 

function doLogin(){
        localStorage["user"] = $("#inputUser").val ();
        localStorage["pass"] = $("#inputPass").val ();
        $.ajax
        ({
              type: "GET",
              url: "https://api.github.com/user",
              async: true,
              dataType: 'json',
              beforeSend: function (xhr) {
                 xhr.setRequestHeader('Authorization', make_base_auth(localStorage["user"], localStorage["pass"]));
             },
              success: function (data){
                  var loginUser = data.login;
                  localStorage["loginUser"] = loginUser;
              },
              error: function (msg){
                localStorage.removeItem("user");
                localStorage.removeItem("pass");
                if (msg.message === "Bad credentials"){
                  alert("User or Password are Incorrect");
                } else {
                  alert('Sorry no se pudo loguear: ' + msg.responseText);<commit_msg>Updating www/js/telus.js<commit_after>///////      Funciones de edicion de apps        ////// 

function doLogin(){
        localStorage["user"] = $("#inputUser").val ();
        localStorage["pass"] = $("#inputPass").val ();
        $.ajax
        ({
              type: "GET",
              url: "https://api.github.com/user",
              async: true,
              dataType: 'json',
              beforeSend: function (xhr) {
                 xhr.setRequestHeader('Authorization', make_base_auth(localStorage["user"], localStorage["pass"]));
             },
              success: function (data){
                  var loginUser = data.login;
                  localStorage["loginUser"] = loginUser;
              },
              error: function (msg){
                localStorage.removeItem("user");
                localStorage.removeItem("pass");
                var error = $.parseJSON(msg.responseText);
                if (error.message === "Bad credentials"){
                  alert("User or Password are Incorrect");
                } else {
                  alert('Sorry no se pudo loguear: ' + msg.responseText);
{'fraction_non_alphanumeric': 0.14324817518248176, 'fraction_numerical': 0.0, 'mean_word_length': 1.5177956371986223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '866089', 'n_tokens_mistral': 548, 'n_tokens_neox': 525, 'n_words': 115}