browser DOM exports
This commit is contained in:
parent
df9abcfb56
commit
9b2183827d
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
import {tableRawContentToObjects, tableWithoutEmptyRows, getODSTableRawContent, createOdsFile} from './browser.js'
|
import {tableRawContentToObjects, tableWithoutEmptyRows, getODSTableRawContent, createOdsFile} from '../exports.js'
|
||||||
|
|
||||||
/** @import {SheetName, SheetRawContent} from './types.js' */
|
/** @import {SheetName, SheetRawContent} from './types.js' */
|
||||||
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Import fichier .ods et .xslx</h1>
|
<h1>Import fichier .ods</h1>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Import</h2>
|
<h2>Import</h2>
|
||||||
|
|||||||
@ -6,3 +6,7 @@ export function createDocument(...args){
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
return document.implementation.createDocument(...args)
|
return document.implementation.createDocument(...args)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const DOMParser = window.DOMParser
|
||||||
|
export const XMLSerializer = window.XMLSerializer
|
||||||
|
export const Node = window.Node
|
||||||
Loading…
x
Reference in New Issue
Block a user