Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
8
frontend/node_modules/@svgdotjs/svg.js/src/polyfills/children.js
generated
vendored
Normal file
8
frontend/node_modules/@svgdotjs/svg.js/src/polyfills/children.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { filter } from '../utils/utils.js'
|
||||
|
||||
// IE11: children does not work for svg nodes
|
||||
export default function children(node) {
|
||||
return filter(node.childNodes, function (child) {
|
||||
return child.nodeType === 1
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user