Software /
code /
prosody
Comparison
util/xml.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:06:26 +0100 |
parent | 7239:c9af793b2d8f |
child | 11127:1d9cd1abc660 |
child | 12181:783056b4e448 |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
3 local lxp = require "lxp"; | 3 local lxp = require "lxp"; |
4 local t_insert = table.insert; | 4 local t_insert = table.insert; |
5 local t_remove = table.remove; | 5 local t_remove = table.remove; |
6 | 6 |
7 local _ENV = nil; | 7 local _ENV = nil; |
8 -- luacheck: std none | |
8 | 9 |
9 local parse_xml = (function() | 10 local parse_xml = (function() |
10 local ns_prefixes = { | 11 local ns_prefixes = { |
11 ["http://www.w3.org/XML/1998/namespace"] = "xml"; | 12 ["http://www.w3.org/XML/1998/namespace"] = "xml"; |
12 }; | 13 }; |