mediawiki-extensions-Visual.../modules/ve
Ed Sanders 2c782fba92 Optimise code for first/last child detection in fixupInsertion
The code to record the first/last child stacks was written before
I decided on using a recursive call going only one step when such
a stack was encountered.

As we only ever test the length of the stack most of the code around
calculating the stack can be thrown away, and all we need is a simple
test to see if we are the first/last child of the immediate parent.

Change-Id: Iffb03c649e166c9f89061a4d944fa07633f16aba
2013-05-13 12:37:01 +01:00
..
actions Configurable insertion annotations 2013-05-06 22:57:35 +00:00
ce (bug 48022) Ignore certain function keys in key press handler 2013-05-10 13:51:23 -07:00
dm Optimise code for first/last child detection in fixupInsertion 2013-05-13 12:37:01 +01:00
init Access keys for edit and edit source 2013-05-10 17:10:26 -07:00
styles Toolbar style fixes 2013-03-15 12:48:49 -07:00
test Merge "Fieldsets and default sort keys" 2013-05-10 23:58:17 +00:00
ui Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.js Add ve.properOuterHtml 2013-05-10 17:03:04 -07:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
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 EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Surface.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Code style fixes 2013-05-06 12:36:52 +01:00