JSFiddle - React, Tailwind, and code Playground

by doug65536

JavaScript

window.foo = function() {
    var self = this, args = arguments;
    delete window.foo;
    $.loadScript('myscripturl.js', function() {
        foo.apply(self, args);
    });
};