# HG changeset patch # User Nicholas Jillings # Date 1506328500 -3600 # Node ID cccb9c312b5d8892e83b03eec1872fe2027eef4c # Parent 8805556c0f42755f47ec6afd68b7b2b6ef6bb1d3 #241 Fixed repeatCount inactive diff -r 8805556c0f42 -r cccb9c312b5d js/specification.js --- a/js/specification.js Thu Sep 14 13:10:51 2017 +0100 +++ b/js/specification.js Mon Sep 25 09:35:00 2017 +0100 @@ -173,6 +173,12 @@ var node = new page(this); node.decode(this, pageTags[i], pageSchema); this.pages.push(node); + for (var r = 0; r < node.repeatCount; r++) { + var repeat = new page(this); + repeat.decode(this, pageTags[i], pageSchema); + repeat.id += "-repeat-" + r; + this.pages.push(repeat); + } } };