-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Labels
Description
I'm trying to use tablesorter with Webpack, but when I load the resulting JS in a browser, I get "ReferenceError: jQuery is not defined".
I'm not 100% sure, but I think the problem is the IIFEs that register tablesorter as a jQuery plugin. The function definitions use '$' as the jQuery variable name, but when the function is invoked, the provided argument is 'jQuery'. Which works if jQuery is loaded on the page by a normal script tag, but not when using a module loader.
The jQuery/$ mish-mash was copypasta'd into all the widgets as well, so they all need fixing.
Reactions are currently unavailable