kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Coding style clean up for #1330
rodzic
b6aa5bf78a
commit
ec829180f4
|
@ -305,9 +305,8 @@ ListItemWidget.prototype.execute = function() {
|
|||
// Set the current list item title
|
||||
this.setVariable(item.variableName,item.itemTitle);
|
||||
this.setVariable(item.iterator,(item.index + 1).toString());
|
||||
this.setVariable(item.iterator + "-even",item.index % 2 == 1 ? 'true' : 'false');
|
||||
this.setVariable(item.iterator + "-last",item.index + 1 == item.count ? 'true' : 'false');
|
||||
|
||||
this.setVariable(item.iterator + "-even",item.index % 2 == 1 ? "true" : "false");
|
||||
this.setVariable(item.iterator + "-last",item.index + 1 == item.count ? "true" : "false");
|
||||
// Construct the child widgets
|
||||
this.makeChildWidgets();
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue