Software /
code /
prosody
Comparison
util/datamapper.lua @ 12782:8815d3090928
util.mathcompat: Module to ease reuse of math.type()
Mostly to ensure it is available during tests, as util.startup is not
invoked there
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 20 Oct 2022 16:50:12 +0200 |
parent | 12580:a9dbf657c894 |
child | 12975:d10957394a3c |
comparison
equal
deleted
inserted
replaced
12781:22066b02887f | 12782:8815d3090928 |
---|---|
1 -- This file is generated from teal-src/util/datamapper.lua | 1 -- This file is generated from teal-src/util/datamapper.lua |
2 | |
3 if not math.type then | |
4 require("util.mathcompat") | |
5 end | |
2 | 6 |
3 local st = require("util.stanza"); | 7 local st = require("util.stanza"); |
4 local pointer = require("util.jsonpointer"); | 8 local pointer = require("util.jsonpointer"); |
5 | 9 |
6 local schema_t = {} | 10 local schema_t = {} |