Skip to content

Instantly share code, notes, and snippets.

@rafapolo
Created December 19, 2010 21:16
Show Gist options
  • Save rafapolo/747696 to your computer and use it in GitHub Desktop.
Save rafapolo/747696 to your computer and use it in GitHub Desktop.
corrige os problemas do teclado do Conca
$("#translate").click(function(){
var means = $("#wrote").val();
means = means.replace(/xc/g, "c")
means = means.replace(/we/g, "e")
means = means.replace(/ew/g, "e")
means = means.replace(/sd/g, "d")
means = means.replace(/ds/g, "d")
$("#means").text(means);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment