spec/helpers.js
function loadJSON (path, callback) {
  var xobj = new XMLHttpRequest();
  xobj.overrideMimeType('application/json');
  xobj.open('GET', path, true);
  xobj.onreadystatechange = function () {
    if (xobj.readyState === 4 && xobj.status === 200) {
      callback(xobj.responseText);
    }
  };
  xobj.send(null);
}
function loadJSON (path, callback) {
  var xobj = new XMLHttpRequest();
  xobj.overrideMimeType('application/json');
  xobj.open('GET', path, true);
  xobj.onreadystatechange = function () {
    if (xobj.readyState === 4 && xobj.status === 200) {
      callback(xobj.responseText);
    }
  };
  xobj.send(null);
}
function loadJSON ( path , callback ) { var xobj = new XMLHttpRequest ( ) ; xobj . overrideMimeType ( 'application/json' ) ; xobj . open ( 'GET' , path , true ) ; xobj . onreadystatechange = function ( ) { if ( xobj . readyState === 4 && xobj . status === 200 ) { callback ( xobj . responseText ) ; } } ; xobj . send ( null ) ; }
Read sample results data
Read sample results data