JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.7rc1.min.js"></script>
when  window  scroll stop,alert"test ok"<br/>
jq1.6.4 work fine,1.7rc1 not work and with error tips:<br/>

"Uncaught TypeError: Cannot call method 'apply' of undefined"

<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>

JavaScript

//plugin:Special scroll events for jQuery
var uid1 = "D" + (+new Date());
var uid2 = "D" + (+new Date() + 1);
var uid3 = "D" + (+new Date() + 2);
var uid4 = "D" + (+new Date() + 3);
jQuery.event.special.scrollstart = {
    setup: function () {
        var b;
        var a = function (e) {
                var c = this;
                var d = arguments;
                if (b) {
                    clearTimeout(b)
                } else {
                    e.type = "scrollstart";
                    jQuery.event.handle.apply(c, d)
                }
                b = setTimeout(function () {
                    b = null
                }, jQuery.event.special.scrollstop.latency)
            };
        jQuery(this).bind("scroll", a).data(uid1, a)
    },
    teardown: function (a) {
        jQuery(this).unbind("scroll", jQuery(this).data(uid1))
    }
};
jQuery.event.special.scrollstop = {
    latency: 100,
    setup: function () {
        var b;
        var a = function (e) {
                var c = this;
                var d = arguments;
                if (b) {
                    clearTimeout(b)
                }
                b = setTimeout(function () {
                    b = null;
                    e.type = "scrollstop";
                    jQuery.event.handle.apply(c, d)
                }, jQuery.event.special.scrollstop.latency)
            };
        jQuery(this).bind("scroll", a).data(uid2, a)
    },
    teardown: function () {
        jQuery(this).unbind("scroll", jQuery(this).data(uid2))
    }
};
jQuery.event.special.scrollreachtop = {
    setup: function (b, a) {
        jQuery(this).bind("scroll", jQuery.event.special.scrollreachtop.handler).data(uid3, jQuery.event.special.scrollreachtop.handler)
    },
    teardown: function (a) {
        jQuery(this).unbind("scroll", jQuery(this).data(uid3))
    },
    handler: function (a) {
        a.type = "scrollreachtop";
        if (parseInt(jQuery(this).scrollTop()) == 0) {
           ...