mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
2656dbf445
Previously, if we didn't know about a property type we would just drop it. This led to various fixes to add support for booleans, nulls, etc. We're now having problems again, this time with functions not being copied. So instead of only copying types we know how to copy, deep clone the ones we know how to and shallow copy the ones we don't know about. This seems like a saner approach to me. Besides, it doesn't seem like cloning a function is even possible in JS. Change-Id: Idd1546ce3a43087a8b96a37101431e466e02f04f |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
example.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 |