NuGet Update popper + update Steamware

This commit is contained in:
Samuele E. Locatelli
2019-11-29 18:06:23 +01:00
parent 261f5a883b
commit 71ace56042
108 changed files with 4365 additions and 666 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;
}