browser DOM exports
This commit is contained in:
parent
df9abcfb56
commit
9b2183827d
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import {tableRawContentToObjects, tableWithoutEmptyRows, getODSTableRawContent, createOdsFile} from './browser.js'
|
||||
import {tableRawContentToObjects, tableWithoutEmptyRows, getODSTableRawContent, createOdsFile} from '../exports.js'
|
||||
|
||||
/** @import {SheetName, SheetRawContent} from './types.js' */
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
</script>
|
||||
|
||||
<h1>Import fichier .ods et .xslx</h1>
|
||||
<h1>Import fichier .ods</h1>
|
||||
|
||||
<section>
|
||||
<h2>Import</h2>
|
||||
|
||||
@ -5,4 +5,8 @@ console.info('DOM implementation in browser')
|
||||
export function createDocument(...args){
|
||||
// @ts-ignore
|
||||
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