JSFiddle - React, Tailwind, and code Playground
by ktstowell
HTML
<button id="library_call">call the library</button>
JavaScript
$(document).ready(function() {
$('button').click(function() {
//_a.init('HAI');
_a('HAI').init();
});
});
(function() {
var A = function(str) {
return new B(str);
};
var B = function(str) {
alert(str);
};
B.prototype = {
init: function(str) {
}
};
window.A = window._a = A;
//window.A = _a = A();
})();