equal
deleted
inserted
replaced
1 -- This file is generated from teal-src/util/datamapper.lua |
1 -- This file is generated from teal-src/util/datamapper.lua |
2 |
2 |
3 if not math.type then |
3 if not math.type then |
4 require("util.mathcompat") |
4 require("prosody.util.mathcompat") |
5 end |
5 end |
6 |
6 |
7 local st = require("util.stanza"); |
7 local st = require("prosody.util.stanza"); |
8 local pointer = require("util.jsonpointer"); |
8 local pointer = require("prosody.util.jsonpointer"); |
9 |
9 |
10 local schema_t = {} |
10 local schema_t = {} |
11 |
11 |
12 local function toboolean(s) |
12 local function toboolean(s) |
13 if s == "true" or s == "1" then |
13 if s == "true" or s == "1" then |