Some time ago I asked this question: How to give an understandable format or ID to a css and / or js file? , now what I'm looking for is the reverse process of that.
that is: having a certain code:
$("#btn_load").click(function(e){
$.ajax({
url:'{{url("liquidation/cod_unicotwo")}}',
type:"GET",
data:{fechai:$("#fecha_inicial").val(), fechaf: $("#fecha_final").val()},
beforeSend: function(){
$("#aquitabla").html($("#cargador_reporte").html());
},
success:function(data){
info_print=ModeloTableSmall(data);
$("#aquitabla").fadeIn(2000).html(info_print);
}
});
});
This is shown in a single line:
$("#btn_load").click(function(e){$.ajax({url("liquidation/cod_unicotwo")}}',type:"GET",data:{fechai:$("#fecha_inicial").val(), fechaf: $("#fecha_final").val()},beforeSend: function(){$("#aquitabla").html($("#cargador_reporte").html());},success:function(data){info_print=ModeloTableSmall(data);$("#aquitabla").fadeIn(2000).html(info_print);}});});
All this in order to protect (at least something) the code.
I'm working with SublimeText3 and atom.
EDITING
As the reverse process is simple to perform, how could my code protect? Is there any way to encrypt it?