mediawiki-extensions-Visual.../modules/ve
Roan Kattouw 43ea9a42d8 Use duck typing instead of instanceof Node
instanceof Node doesn't work with nodes generated by the iframe hack
for some reason. Instead, use duck typing by checking for a .cloneNode
method.

>>> ve.createDocumentFromHTML('<body><tt>Foo</tt></body>').body.childNodes[0]
<tt>Foo</tt>
>>> ve.createDocumentFromHTML('<body><tt>Foo</tt></body>').body.childNodes[0] instanceof Node
false

Change-Id: I1ea1253bd204d1070cd01b666b8a90f1cb7e5e14
2013-04-29 17:24:41 -07:00
..
actions The resurrection 2013-04-22 12:50:23 +01:00
ce Merge "Add TableCaptionNode" 2013-04-26 21:12:09 +00:00
dm Create meta item for defaultsort 2013-04-29 15:33:37 +01:00
init Merge "Add method to ElementLinearData to get IVStore items in use" 2013-04-26 01:27:39 +00:00
styles
test Use duck typing instead of instanceof Node 2013-04-29 17:24:41 -07:00
ui UI Refactor 2013-04-26 21:18:13 +00:00
ve.Action.js
ve.ActionFactory.js
ve.BranchNode.js
ve.CommandRegistry.js
ve.debug.js
ve.Document.js
ve.EventEmitter.js Fix documentation to place @emits in the correct place 2013-03-25 21:06:05 +00:00
ve.Factory.js
ve.js Use duck typing instead of instanceof Node 2013-04-29 17:24:41 -07:00
ve.LeafNode.js
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js Move common Node/Annotation/MetaItem code into ve.dm.Model 2013-04-09 12:05:05 -07:00
ve.Range.js Clickable inline images 2013-04-08 17:58:46 -07:00
ve.Registry.js
ve.Surface.js The resurrection 2013-04-22 12:50:23 +01:00
ve.Trigger.js
ve.TriggerRegistry.js