mediawiki-extensions-Visual.../modules/ve/dm
Catrope 5d5335b498 Reorganize text-only replacement detection
* Lift node assignment out of the if/else
* Flip the condition so we detect text-only replacements rather than
  non-text-only replacements
* Additionally assert that there is exactly one selected node, and that
  it is a text node

Change-Id: Iaaddf532f06709e860ac44457470e6d8bfcb6dd9
2012-10-24 17:48:20 -07:00
..
annotations Whitespace and comment cleanup for dm annotation classes 2012-10-17 12:35:28 -07:00
nodes Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.dm.Annotation.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.dm.AnnotationFactory.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.dm.BranchNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.dm.Converter.js Wrap inline elements properly 2012-10-17 13:50:29 -07:00
ve.dm.Document.js Whitespace and comment cleanup for dm annotation classes 2012-10-17 12:35:28 -07:00
ve.dm.DocumentSynchronizer.js Fix JS error in DocumentSynchronizer when adding to an empty document 2012-10-15 15:01:39 -07:00
ve.dm.js New annotation API: Annotation and AnnotationFactory classes 2012-10-12 15:07:02 -07:00
ve.dm.LeafNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.dm.Node.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.NodeFactory.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Surface.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.dm.SurfaceFragment.js Reversed the default value of autoSelect in surface fragments 2012-10-12 17:34:15 -07:00
ve.dm.Transaction.js Added reversed boolean for translateOffset 2012-10-10 14:59:30 -07:00
ve.dm.TransactionProcessor.js Reorganize text-only replacement detection 2012-10-24 17:48:20 -07:00