shama / on-load

On load/unload events for DOM elements using a MutationObserver
113 stars 19 forks source link

export correctly when in electron environment #32

Closed kareniel closed 7 years ago

kareniel commented 7 years ago

this commit adds a check to see if we're running in an electron environment and exports the browser version if it's the case. (currently electron gets the server version (an empty function)

this addresses choojs/nanocomponent#62