Merge "Add group to internal list items in test data"

This commit is contained in:
jenkins-bot 2013-09-05 21:43:10 +00:00 committed by Gerrit Code Review
commit 538d22a7f8

View file

@ -126,6 +126,7 @@ ve.dm.example.createExampleDocumentFromObject = function ( name, store, object )
if ( object[name].internalItems ) {
for ( i = 0; i < object[name].internalItems.length; i++ ) {
doc.internalList.queueItemHtml(
object[name].internalItems[i].group,
object[name].internalItems[i].key,
object[name].internalItems[i].body
);
@ -412,8 +413,8 @@ ve.dm.example.internalData = [
];
ve.dm.example.internalData.internalItems = [
{ 'key': 'bar', 'body': 'Bar' },
{ 'key': 'baz', 'body': 'Baz' }
{ 'group': 'test', 'key': 'bar', 'body': 'Bar' },
{ 'group': 'test', 'key': 'baz', 'body': 'Baz' }
];
ve.dm.example.withMeta = [