define(() => {
    (function ($) {
        if (typeof $.fn.knock !== 'undefined') {
            console.warn('$.knock function already defined.');
        }

        $.fn.knock = function () {
            return this.each((i, e) => {
                var $this = $(e);
                console.log($this, e);
            });
        };
    }(jQuery));
});