JSFiddle - React, Tailwind, and code Playground

by taylorbuley

JavaScript

var xhr = new XMLHttpRequest();
xhr.open( 'GET', 'http://fiddle.jshell.net/', true );
var onError = function(e) {
    console.log("ERROR", e);        
}
xhr.responseType = 'arraybuffer';
xhr.onload = function(e) {
    window.webkitRequestFileSystem( TEMPORARY, 1024*1024, function(fs) {
        console.log('filesystem',fs);     
    }, onError );    
};

xhr.send();