mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-02 19:26:24 +00:00
a0dc96cac9
Instead of mixing window.mediaWiki / mediaWiki and window.jQuery / jQuery references, always refer to globals which exist whether code is executed in browser or headless Node.js environments. find src tests -iname \*.js| xargs -rd\\n sed -ri 's%window.(mediaWiki|jQuery)%\1%gi' Change-Id: I21d0a602dcbd2bc6774934bee6c487e443270fe0 |
||
---|---|---|
.. | ||
index.test.js | ||
mediawiki.test.js | ||
rest.test.js |