Ancora update dei nuGet packages (bootstrap, popper...)

This commit is contained in:
Samuele E. Locatelli
2020-01-21 10:16:11 +01:00
parent 8c80435f5c
commit 4d34224562
115 changed files with 5530 additions and 1278 deletions
+9
View File
@@ -0,0 +1,9 @@
/**
* Get the window associated with the element
* @argument {Element} element
* @returns {Window}
*/
export default function getWindow(element) {
const ownerDocument = element.ownerDocument;
return ownerDocument ? ownerDocument.defaultView : window;
}