gues type from id, classe added to dots on connecction mode (remians nested dots and text mode)

This commit is contained in:
Bachir Soussi Chiadmi
2018-02-22 23:18:03 +01:00
parent c7beaf1e10
commit 2ce27b3245
12 changed files with 258 additions and 79 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ var _Part = {
m("h1", {'class':'part-title', 'part':this.id}, m.trust(markdown.renderInline(this.title))),
// create text node
this.enonces.map(e => {
console.log(e.title +" - "+ e.type);
// console.log(e.title +" - "+ e.type);
// var title = e.title || '';
switch (e.type) {
case "title":