JSFiddle - React, Tailwind, and code Playground

by nocircleno

JavaScript

var statLoader = {};
statLoader.canHandleUri = function(uri) {
    // return true or false
};
statLoader.getInformationForUri = function(uri) {
    // returns {duration:"(number)", mimeType:"(mime type)"};
};

// this won't work below with out the lib
var project = tscml.Project.create();
project.addStatLoader(statLoader);