mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 995644de88 Fix rare exception when editor loading is aborted
If editor loading was aborted while the surface was already being set up,
this code would cause the following exception:

    Uncaught TypeError: Cannot read property 'tools' of null

Introduced in c02c529537 (2017) because
our coding conventions at the time demanded that all `var` statements
must appear at the beginning of a function.

Bug: T287487
Change-Id: Id657d6f1e1189c17ede25362f145bb7b10f441db
2021-07-27 17:40:13 +02:00
..
ve.init.mw.ArticleTarget.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.init.mw.DesktopArticleTarget.js Fix rare exception when editor loading is aborted 2021-07-27 17:40:13 +02:00
ve.init.mw.MobileArticleTarget.js Ensure correct classes are added to surfaces 2021-05-23 20:04:28 +01:00
ve.init.mw.Target.js Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00