mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
d1a397221e
I encountered a very difficult to track down error while working on ve.ui.Dialog where a copy-pasted inheritClass call overwrote the prototype of ve.ui.Widget. By adding this check, we can ensure that 2 identical calls to inheritClass won't silently make the system explode. This check is lightweight and will save someone down the line a bit of time and head scratching. Change-Id: I014d53722fc8d941ec415462d258a79985e0e3d7 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
image.png | ||
index.php | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.Factory.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.Trigger.test.js |