mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
2ed648c4db
If you tried to do styleElement( undefined, $element ), you'd get an exception in the mw.Title constructor from a setTimeout. That's not very nice, and there's no point sending non-strings through the queue and other data structures in LinkCache, so instead just make get() return a rejected promise when given non-string values. Change-Id: Iab06929d7e232a8ecd8eb1eff9d1190c303421c1 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-wmf/i18n |