Remove lint

This commit is contained in:
Andreas Hocevar
2021-06-28 18:10:51 +02:00
parent b5bb9382e2
commit 79f5f46d27
135 changed files with 1040 additions and 2374 deletions
+6 -8
View File
@@ -1034,10 +1034,9 @@ function writeQuery(node, featureType, objectStack) {
if (featureNS) {
node.setAttributeNS(XMLNS, 'xmlns:' + featurePrefix, featureNS);
}
const item = /** @type {import("../xml.js").NodeStackItem} */ (assign(
{},
context
));
const item = /** @type {import("../xml.js").NodeStackItem} */ (
assign({}, context)
);
item.node = node;
pushSerializeAndPop(
item,
@@ -1348,10 +1347,9 @@ export function writeFilter(filter, opt_version) {
*/
function writeGetFeature(node, featureTypes, objectStack) {
const context = /** @type {Object} */ (objectStack[objectStack.length - 1]);
const item = /** @type {import("../xml.js").NodeStackItem} */ (assign(
{},
context
));
const item = /** @type {import("../xml.js").NodeStackItem} */ (
assign({}, context)
);
item.node = node;
pushSerializeAndPop(
item,