Create a gist now

Instantly share code, notes, and snippets.

@nrpuig /JavaScript API Secret
Created Nov 18, 2015

What would you like to do?
function reqListener () {
var data = JSON.parse(this.responseText);
function mnApiCall(equation) {
var oReq = new XMLHttpRequest();
oReq.addEventListener("load", reqListener);"GET", "" + equation.replace('/','|'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment