JSFiddle - React, Tailwind, and code Playground

by dledle2

JavaScript

javascript:

(function (e, a, g, h, f, c, b, d)
{
    if (!(f = e.jQuery) || g > f.fn.jquery || h(f))
    {
        c = a.createElement("script");
        c.type = "text/javascript";
        c.src =
            "http://ajax.googleapis.com/ajax/libs/jquery/" +
            g + "/jquery.min.js";
        c.onload = c.onreadystatechange = function ()
        {
            if (!b && (!(d = this.readyState) || d ==
                "loaded" || d == "complete"))
            {
                h((f = e.jQuery).noConflict(1), b = 1);
                f(c).remove()
            }
        };
        a.documentElement.childNodes[0].appendChild(c)
    }
})(window, document, "1.3.2", function ($, L)
{
    alert('existing: ' + (window.jQuery ? jQuery.fn.jquery :
        'N/A') + ', loaded: ' + (L ? $.fn.jquery :
        'N/A'));
});




alert('already existing jQuery version: ' + (window.jQuery ? jQuery.fn.jquery : 'N/A'));