fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving wlxml object api transformations directly into .object properties name space
[fnpeditor.git]
/
src
/
wlxml
/
extensions
/
list
/
list.js
diff --git
a/src/wlxml/extensions/list/list.js
b/src/wlxml/extensions/list/list.js
index
75b5336
..
6cac91b
100644
(file)
--- a/
src/wlxml/extensions/list/list.js
+++ b/
src/wlxml/extensions/list/list.js
@@
-135,7
+135,7
@@
extension.document.transformations.extractItems = {
reference.after(toAdd);
}
if(!params.merge && listIsNested) {
reference.after(toAdd);
}
if(!params.merge && listIsNested) {
- return this.
transform('extractItems',
{item1: extractedItems[0], item2: extractedItems[extractedItems.length-1]});
+ return this.
extractItems(
{item1: extractedItems[0], item2: extractedItems[extractedItems.length-1]});
}
return true;
},
}
return true;
},