mediawiki-extensions-Visual.../modules/ve/dm
Catrope 70fa9c8aeb Recognize annotation types with multiple slashes correctly
Annotation types with more than one slash such as 'link/ExtLink/URL'
weren't being processed correctly because .split( '/', 2 ) throws away
everything after the second slash. Instead, don't pass a limit to
.split(); the code for reconstructing a slash-separated string from
multiple components was already in place.

Also add test cases for URL links and numbered links.

(Do you like the lines-of-code to lines-of-test ratio in this commit,
Trevor? ;) )

Change-Id: I7add87396447a01b1c23a4f9bfd63d2e8fd861ce
2012-08-13 18:22:31 -07:00
..
annotations
nodes
ve.dm.Annotation.js
ve.dm.AnnotationFactory.js
ve.dm.BranchNode.js
ve.dm.Converter.js
ve.dm.Document.js
ve.dm.DocumentSynchronizer.js
ve.dm.js
ve.dm.LeafNode.js
ve.dm.Node.js
ve.dm.NodeFactory.js
ve.dm.Surface.js
ve.dm.SurfaceFragment.js
ve.dm.Transaction.js
ve.dm.TransactionProcessor.js