r111971 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111970‎ | r111971 | r111972 >
Date:22:26, 20 February 2012
Author:au
Status:ok
Tags:
Comment:
Revert "* Always sort attributes (+1 test pass)."

This reverts commit 45ca281da8eef8030bdd1986418cb914fc9a717c.
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/ext.core.Sanitizer.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/ext.core.Sanitizer.js
@@ -109,9 +109,6 @@
110110 kv.v = this.checkCss(kv.v);
111111 }
112112 }
113 - token.attribs.sort(function(a, b) {
114 - return a.k.localeCompare(b.k);
115 - });
116113 }
117114 // XXX: Validate attributes
118115 return { token: token };

Status & tagging log