fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring: common things in constructor, dom construction in a separate function
[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
107743a
..
d17e3e3
100644
(file)
--- a/
src/wlxml/extensions/list/list.js
+++ b/
src/wlxml/extensions/list/list.js
@@
-109,7
+109,7
@@
extension.document.transformations.extractItems = {
reference.after(item);
reference = item;
if(!listIsNested) {
reference.after(item);
reference = item;
if(!listIsNested) {
- item.setClass(
null
);
+ item.setClass(
''
);
}
});
if(precedingItems.length === 0) {
}
});
if(precedingItems.length === 0) {
@@
-119,14
+119,14
@@
extension.document.transformations.extractItems = {
extractedItems.forEach(function(item) {
reference.before(item);
if(!listIsNested) {
extractedItems.forEach(function(item) {
reference.before(item);
if(!listIsNested) {
- item.setClass(
null
);
+ item.setClass(
''
);
}
});
} else {
extractedItems.forEach(function(item) {
reference.after(item);
if(!listIsNested) {
}
});
} else {
extractedItems.forEach(function(item) {
reference.after(item);
if(!listIsNested) {
- item.setClass(
null
);
+ item.setClass(
''
);
}
reference = item;
});
}
reference = item;
});