wordpress如何做网站,找资源,电子商务网站建设总结与体会,室内艺术设计笙默考试管理系统-MyExamTest----codemirror#xff08;51#xff09;
目录
笙默考试管理系统-MyExamTest----codemirror#xff08;51#xff09;
一、 笙默考试管理系统-MyExamTest----codemirror
二、 笙默考试管理系统-MyExamTest----codemirror
三、 笙默考试…
笙默考试管理系统-MyExamTest----codemirror51
目录
笙默考试管理系统-MyExamTest----codemirror51
一、 笙默考试管理系统-MyExamTest----codemirror
二、 笙默考试管理系统-MyExamTest----codemirror
三、 笙默考试管理系统-MyExamTest----codemirror
四、 笙默考试管理系统-MyExamTest----codemirror
五、 笙默考试管理系统-MyExamTest----codemirror 笙默考试管理系统-MyExamTest----codemirror function BranchChunk(children) { this.children children; var size 0, height 0; for (var i 0, e children.length; i e; i) { var ch children[i]; size ch.chunkSize(); height ch.height; ch.parent this; }
笙默考试管理系统-MyExamTest----codemirror this.size size; this.height height; this.parent null;
}
笙默考试管理系统-MyExamTest----codemirror BranchChunk.prototype { chunkSize: function() { return this.size; }, remove: function(at, n, callbacks) { this.size - n; for (var i 0; i this.children.length; i) { var child this.children[i], sz child.chunkSize(); if (at sz) { var rm Math.min(n, sz - at), oldHeight child.height; child.remove(at, rm, callbacks); this.height - oldHeight - child.height; if (sz rm) { this.children.splice(i--, 1); child.parent null; } if ((n - rm) 0) break; at 0; } else at - sz; }
笙默考试管理系统-MyExamTest----codemirror if (this.size - n 25) { var lines []; this.collapse(lines); this.children [new LeafChunk(lines)]; } }, collapse: function(lines) { for (var i 0, e this.children.length; i e; i) this.children[i].collapse(lines); }, insert: function(at, lines) { var height 0; for (var i 0, e lines.length; i e; i) height lines[i].height; this.insertHeight(at, lines, height); },
笙默考试管理系统-MyExamTest----codemirror insertHeight: function(at, lines, height) { this.size lines.length; this.height height; for (var i 0, e this.children.length; i e; i) { var child this.children[i], sz child.chunkSize(); if (at sz) { child.insertHeight(at, lines, height); if (child.lines child.lines.length 50) { while (child.lines.length 50) { var spilled child.lines.splice(child.lines.length - 25, 25); var newleaf new LeafChunk(spilled); child.height - newleaf.height; this.children.splice(i 1, 0, newleaf); newleaf.parent this; }