Hello, I'm editing widgets on a wiki that just upgraded from MW version 1.24.2 to version 1.26.2. This edit has broken pretty much all of the widgets we wrote. I'm guessing based on the 1.26 update notes that "ResourceLoader became fully asynchronous" has caused the problem.
Firefox error console reads "ReferenceError: $ is not defined" ... will a Widget's script tags load before the mw.loader jquery module? I took a stab in the dark by wrapping all of my old code in $(document).ready(function () { //your code here});
but that didn't help, even after purging the widget cache. Any ideas on how to fix this?