Subramanya Sastry has uploaded a new change for review. Change subject: Changed add/remove/get transforms. ......................................................................
Changed add/remove/get transforms. * Work in progress -- this commit is more an excuse for me to dig into a new part of the code and make sense of it while fixing a minor thing in the process. Requires investigation to see if this is any better than what existed, and how this code can be improved upon. But, comments welcome. * This code change is an attempt to address the FIXME about constant resorting of transformations in _getTransforms. This maintains sorted order during add/remove -- but, unsure if this is any better since adding an 'any' transformation leads to insertion sort across all other transformations. Change-Id: If24a807b84d494aa4e5597339039a5573a30905e --- M modules/parser/mediawiki.TokenTransformManager.js 1 file changed, 70 insertions(+), 74 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/07/14607/1 -- To view, visit https://gerrit.wikimedia.org/r/14607 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If24a807b84d494aa4e5597339039a5573a30905e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Subramanya Sastry <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
