JSFiddle - React, Tailwind, and code Playground

HTML

<div id="parent"><span id="test"></span></div>

JavaScript

/*
    jQuery 1.4.2 vs 1.4.3 -- data method reads from the attribute
    * Listens to changes made by attr method

    Default is set to 1.4.3, select 1.4.2 and click run
*/

var span = $('#test');
var div = $('#parent');

var test = new Object();

/*
    See if it bubbles
*/
    alert("here11");

$(test).bind("test_event", function(){});
alert("here");
var test11 = $(test).data.__events_;
alert($(test).data.__events_.apply());