ajax
ajax copied to clipboard
Avoid eval
I would replace your evals in get/postJSON to use JSON.parse
.
Actually, I'm slightly confused, you're already doing JSON.parse
in send
why have separate methods that call eval
?
I'm no expert, just curious.
Sorry, I'm not maintaining this library, so you may want to fork it if you are using it.