DLynch has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/354936 )
Change subject: summarizeTransaction: hide null author
......................................................................
summarizeTransaction: hide null author
Change-Id: I42c0a6adea88365fa73556bfc6900cf514bb4612
---
M src/ve.debug.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/36/354936/1
diff --git a/src/ve.debug.js b/src/ve.debug.js
index bb59c10..2033579 100644
--- a/src/ve.debug.js
+++ b/src/ve.debug.js
@@ -108,7 +108,7 @@
}
} ).join( '' ) + '\'';
}
- return '(' + tx.author + ' ' + tx.operations.map( function ( op ) {
+ return '(' + ( tx.author ? ( tx.author + ' ' ) : '' ) +
tx.operations.map( function ( op ) {
if ( op.type === 'retain' ) {
return ( annotations ? 'annotate ' : 'retain ' ) +
op.length;
} else if ( op.type === 'replace' ) {
--
To view, visit https://gerrit.wikimedia.org/r/354936
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I42c0a6adea88365fa73556bfc6900cf514bb4612
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: DLynch <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits