Esanders has uploaded a new change for review.
https://gerrit.wikimedia.org/r/66078
Change subject: Fix demo to convert annotation indexes to actual annotations
......................................................................
Fix demo to convert annotation indexes to actual annotations
Change-Id: Ib9d4ab87baca2db7e9e8f2b9fc974c3198d9fe28
---
M demos/ve/index.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor
refs/changes/78/66078/1
diff --git a/demos/ve/index.php b/demos/ve/index.php
index 7630192..0ef4d9b 100644
--- a/demos/ve/index.php
+++ b/demos/ve/index.php
@@ -425,7 +425,7 @@
if ( annotations ) {
$label.append(
$( '<span>' ).text(
- '[' +
annotations.get().map( function( ann ) {
+ '[' +
ve.instances[0].model.documentModel.store.values( annotations ).map( function(
ann ) {
return
ann.name;
} ).join( ', '
) + ']'
)
--
To view, visit https://gerrit.wikimedia.org/r/66078
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9d4ab87baca2db7e9e8f2b9fc974c3198d9fe28
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits