@odoo/owl 2.8.2 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compile_templates.mjs +4 -1
- package/dist/compiler.js +2478 -0
- package/dist/owl-devtools.zip +0 -0
- package/dist/owl.cjs.js +75 -35
- package/dist/owl.es.js +75 -35
- package/dist/owl.iife.js +75 -35
- package/dist/owl.iife.min.js +1 -1
- package/dist/types/owl.d.ts +1 -1
- package/dist/types/runtime/scheduler.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +11 -1
|
@@ -330,7 +330,10 @@ function interpolate(s) {
|
|
|
330
330
|
const whitespaceRE = /\s+/g;
|
|
331
331
|
// using a non-html document so that <inner/outer>HTML serializes as XML instead
|
|
332
332
|
// of HTML (as we will parse it as xml later)
|
|
333
|
-
|
|
333
|
+
let xmlDoc;
|
|
334
|
+
if (typeof document !== "undefined") {
|
|
335
|
+
xmlDoc = document.implementation.createDocument(null, null, null);
|
|
336
|
+
}
|
|
334
337
|
const MODS = new Set(["stop", "capture", "prevent", "self", "synthetic"]);
|
|
335
338
|
let nextDataIds = {};
|
|
336
339
|
function generateId(prefix = "") {
|