1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 20:00:05 +02:00
Files
minifyfromhtml/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js
s2 a4b62da0ba use terser and clean-css directly
create a sourcemap as well by default
2020-02-13 15:39:37 +01:00

18 lines
390 B
JavaScript

"use strict";
const HTMLElementImpl = require("./HTMLElement-impl").implementation;
const { reflectURLAttribute } = require("../../utils");
class HTMLEmbedElementImpl extends HTMLElementImpl {
get src() {
return reflectURLAttribute(this, "src");
}
set src(value) {
this.setAttributeNS(null, "src", value);
}
}
module.exports = {
implementation: HTMLEmbedElementImpl
};