Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -130,6 +130,7 @@ object BookChapterList {
|
|||||||
bookChapter.index = index
|
bookChapter.index = index
|
||||||
if (!formatJs.isNullOrBlank()) {
|
if (!formatJs.isNullOrBlank()) {
|
||||||
bindings["index"] = index + 1
|
bindings["index"] = index + 1
|
||||||
|
bindings["chapter"] = bookChapter
|
||||||
bindings["title"] = bookChapter.title
|
bindings["title"] = bookChapter.title
|
||||||
RhinoScriptEngine.runCatching {
|
RhinoScriptEngine.runCatching {
|
||||||
eval(formatJs, bindings)?.toString()?.let {
|
eval(formatJs, bindings)?.toString()?.let {
|
||||||
|
|||||||
Reference in New Issue
Block a user