From 73edc2a46fe9138c01eb7705cb0af4b178b8da8e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 4 Sep 2013 17:59:17 -0700 Subject: [PATCH] Add group to internal list items in test data Previously we were just omitting the first parameter to queueItemHtml() Change-Id: Ib4b6d2877d6cfe6b8469a300f89a4a54cbec6da3 --- modules/ve/test/dm/ve.dm.example.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ve/test/dm/ve.dm.example.js b/modules/ve/test/dm/ve.dm.example.js index 2e941c52aa..b21fe09b88 100644 --- a/modules/ve/test/dm/ve.dm.example.js +++ b/modules/ve/test/dm/ve.dm.example.js @@ -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 = [