mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
修复计分板,完成OI赛制
This commit is contained in:
1 parent
b66ed01fa2
commit
0aa6183804
3 files changed
+12
-18
No files matched your search
@@ -11,9 +11,6 @@ exports.datetime_span = function (dt, relative = true, format = '%Y-%m-%d %H:%M:
|
||||
dt.format(format)
|
||||
);
|
||||
};
|
||||
exports.nl2br = function (self) {
|
||||
return self.replace(/\n/gm, '<br>');
|
||||
};
|
||||
exports.paginate = function* (page, num_pages) {
|
||||
let radius = 2, first, last;
|
||||
if (page > 1) {
|
||||
|
||||
Reference in new issue
Block a user