Re: [w3c/webcomponents] document.currentScript from a script in a shadow tree. (#477)

Also, a good idea is to have something like
```javascript
document.querySelector('#myshadowroot').defined.then(currentShadowRoot => {
});
```

In the same fashion as custom elements ```whenDefined``` does.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/477#issuecomment-320728933

Received on Monday, 7 August 2017 17:34:39 UTC