mediawiki-extensions-Visual.../modules/ve
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
..
ce Merge "Refactor ve.js utilities and improve documentation" 2012-08-13 03:24:43 +00:00
dm Recognize annotation types with multiple slashes correctly 2012-08-13 18:22:31 -07:00
init Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
test Recognize annotation types with multiple slashes correctly 2012-08-13 18:22:31 -07:00
ui Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.BranchNode.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.debug.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Document.js This should never happen, but if it does, lets make sure we know 2012-08-08 15:17:45 -07:00
ve.EventEmitter.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Factory.js After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
ve.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.LeafNode.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Node.js Make use of new jshint options 2012-08-10 02:50:30 +02:00
ve.Position.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Range.js Added basic ve.dm.SurfaceFragment class 2012-08-09 16:18:13 -07:00
ve.Surface.js Cleanup - all jshint conditions are now met 2012-08-03 18:56:04 -07:00