Bundler can't parse multiple exports per module
This commit is contained in:
parent
28d35b47a2
commit
da76ed9054
1 changed files with 8 additions and 4 deletions
|
|
@ -1,9 +1,8 @@
|
||||||
"use strict"
|
"use strict"
|
||||||
|
|
||||||
var delayedRemoval = new WeakMap
|
var delayedRemoval = new WeakMap
|
||||||
module.exports.delayedRemoval = delayedRemoval
|
|
||||||
|
|
||||||
module.exports.domFor = function *domFor({dom, domSize}, {generation} = {}) {
|
function *domFor({dom, domSize}, {generation} = {}) {
|
||||||
if (dom != null) do {
|
if (dom != null) do {
|
||||||
const {nextSibling} = dom
|
const {nextSibling} = dom
|
||||||
|
|
||||||
|
|
@ -16,3 +15,8 @@ module.exports.domFor = function *domFor({dom, domSize}, {generation} = {}) {
|
||||||
}
|
}
|
||||||
while (domSize)
|
while (domSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
delayedRemoval: delayedRemoval,
|
||||||
|
domFor: domFor,
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue